BOOTIF=*)
BOOTIF="${_PARAMETER#BOOTIF=}"
;;
-
dns=*)
DNS=${_PARAMETER#dns=}
DNSSERVERS=$(echo ${DNS} | sed 's/,/ /g')
nodhcp)
DHCP=""
export DHCP
- NODHCP="Yes"
+ NODHCP="true"
export NODHCP
;;
ethdevice=*)
- ETHDEVICE="${_PARAMETER#ethdevice=}"
- export ETHDEVICE
+ DEVICE="${_PARAMETER#ethdevice=}"
+ ETHDEVICE="${DEVICE}"
+ export DEVICE ETHDEVICE
;;
ethdevice-timeout=*)
;;
ip=*)
- # copy complete ip=args into staticip, and
- # keep multiple uses.
- STATICIP="${STATICIP} ${_PARAMETER}"
+ STATICIP="${_PARAMETER#ip=}"
+
+ if [ -z "${STATICIP}" ]
+ then
+ STATICIP="frommedia"
+ fi
+
export STATICIP
;;
ramdisk_size="${_PARAMETER#ramdisk-size=}"
;;
+ overlay-size=*)
+ OVERLAY_SIZE="${_PARAMETER#overlay-size=}"
+ export OVERLAY_SIZE
+ ;;
+
persistence)
PERSISTENCE="true"
export PERSISTENCE
;;
persistence-label=*)
- custom_overlay_label="${_PARAMETER#persistence-label=*}"
+ custom_overlay_label=$(echo ${_PARAMETER#persistence-label=*} | sed -e 's/,/ /g')
;;
nopersistence)