From: Harald Hoyer Date: Fri, 17 Jan 2014 13:37:55 +0000 (+0100) Subject: network: add rd.bootif=0 to ignore BOOTIF X-Git-Tag: 035~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee9938572eadc1b7d9e6d3a0f611b0a97831ad1b;p=thirdparty%2Fdracut.git network: add rd.bootif=0 to ignore BOOTIF https://bugzilla.redhat.com/show_bug.cgi?id=1044623 --- diff --git a/dracut.cmdline.7.asc b/dracut.cmdline.7.asc index 8ac53414a..963ba0743 100644 --- a/dracut.cmdline.7.asc +++ b/dracut.cmdline.7.asc @@ -484,6 +484,12 @@ interface name. Better name it "bootnet" or "bluesocket". specify network interface to use routing and netroot information from. Required if multiple ip= lines are used. +**BOOTIF=**____:: + specify network interface to use routing and netroot information from. + +**rd.bootif=0**:: + Disable BOOTIF parsing, which is provided by PXE + **nameserver=**____ [**nameserver=**____ ...]:: specify nameserver(s) to use diff --git a/modules.d/40network/parse-ip-opts.sh b/modules.d/40network/parse-ip-opts.sh index 4bf286d84..7e735741a 100755 --- a/modules.d/40network/parse-ip-opts.sh +++ b/modules.d/40network/parse-ip-opts.sh @@ -108,7 +108,7 @@ for p in $(getargs ip=); do done # put BOOTIF in IFACES to make sure it comes up -if BOOTIF="$(getarg BOOTIF=)"; then +if getargbool 1 "rd.bootif" && BOOTIF="$(getarg BOOTIF=)"; then BOOTDEV=$(fix_bootif $BOOTIF) IFACES="$BOOTDEV $IFACES" fi