X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=blobdiff_plain;f=components%2F9990-cmdline-old;h=6ac6eb558cf3045a2d38885039560b14a654c1b0;hp=8bb8254e13792a4e3998473d83c7e38dc0e6a330;hb=HEAD;hpb=a331218718282c5496ff062a0f6aa55908224862 diff --git a/components/9990-cmdline-old b/components/9990-cmdline-old index 8bb8254..1504e1e 100755 --- a/components/9990-cmdline-old +++ b/components/9990-cmdline-old @@ -17,6 +17,17 @@ Cmdline_old () BOOTIF=*) BOOTIF="${_PARAMETER#BOOTIF=}" ;; + dns=*) + DNS=${_PARAMETER#dns=} + DNSSERVERS=$(echo ${DNS} | sed 's/,/ /g') + export DNSSERVERS + unset DNS + ;; + + bootid=*) + BOOTID="${_PARAMETER#bootid=}" + export BOOTID + ;; dhcp) # Force dhcp even while netbooting @@ -28,6 +39,8 @@ Cmdline_old () nodhcp) DHCP="" export DHCP + NODHCP="true" + export NODHCP ;; ethdevice=*) @@ -79,6 +92,11 @@ Cmdline_old () export FROMISO ;; + ignore_bootid) + IGNORE_BOOTID="Yes" + export IGNORE_BOOTID + ;; + ignore_uuid) IGNORE_UUID="true" export IGNORE_UUID @@ -140,6 +158,11 @@ Cmdline_old () export NFS_COW ;; + nodhcphostname) + NODHCPHOSTNAME="Yes" + export NODHCPHOSTNAME + ;; + nofstab) NOFSTAB="true" export NOFSTAB @@ -154,6 +177,11 @@ Cmdline_old () ramdisk_size="${_PARAMETER#ramdisk-size=}" ;; + overlay-size=*) + OVERLAY_SIZE="${_PARAMETER#overlay-size=}" + export OVERLAY_SIZE + ;; + persistence) PERSISTENCE="true" export PERSISTENCE @@ -188,7 +216,7 @@ Cmdline_old () ;; persistence-label=*) - custom_overlay_label="${_PARAMETER#persistence-label=*}" + custom_overlay_label=$(echo ${_PARAMETER#persistence-label=*} | sed -e 's/,/ /g') ;; nopersistence) @@ -241,6 +269,11 @@ Cmdline_old () UNIONTYPE="${_PARAMETER#union=}" export UNIONTYPE ;; + + vlan=*) + VLANS="${VLANS} ${_PARAMETER#vlan=}" + export VLANS + ;; esac done @@ -266,7 +299,7 @@ Cmdline_old () if [ -z "${UNIONTYPE}" ] then - UNIONTYPE="aufs" + UNIONTYPE="overlay" export UNIONTYPE fi @@ -285,7 +318,7 @@ Cmdline_old () if [ ! -x /lib/cryptsetup/askpass ] || [ ! -x /sbin/cryptsetup ] then - log_warning_msg "cryptsetup in unavailable" + log_warning_msg "cryptsetup is unavailable" PERSISTENCE_ENCRYPTION=$(echo ${PERSISTENCE_ENCRYPTION} | sed -e 's/\