hvbuild_post()
{
- echo "TODO: Configurer ssid"
- install -d -m755 /etc/sysconfig/network/ssid
+ install -v -d -m755 /etc/sysconfig/network/ssid
+
+cat > /etc/sysconfig/network/ssid/TEMPLATE << EOF
+# This file must be named exactly as your ESSID (case is important)
+KEY_TYPE="WPA-PSK"
+
+# This can be "static" or "dhcp"
+BOOTPROTO="static"
+
+# The following variables are used only for "static":
+IPADDR="192.168.1.6"
+PREFIX_LENGTH="24"
+GATEWAY="192.168.1.1"
+EOF
}