]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(fcoe): rename rd.nofcoe to rd.fcoe
authorLukas Nykryn <lnykryn@redhat.com>
Thu, 18 Feb 2021 10:23:41 +0000 (11:23 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Fri, 19 Feb 2021 09:28:57 +0000 (09:28 +0000)
The current name of this bool is kinda stupid. Based on the manpage
setting it to 0 turns off fcoe, which means that nofcoe=1 should mean
that it is on.

Let's just do the same thing as with rd.lvm=0, rd.luks=0,....

dracut.cmdline.7.asc
modules.d/95fcoe/lldpad.sh
modules.d/95fcoe/parse-fcoe.sh

index b4cbbbcd078413f76449e8c943449d25aff8b654..e1b67b1c61e8092fd5adfb966e0fa038fb566a71 100644 (file)
@@ -868,7 +868,7 @@ iscsistart -b --param node.session.timeo.replacement_timeout=30
 
 FCoE
 ~~~~
-**rd.nofcoe=0**::
+**rd.fcoe=0**::
     disable FCoE and lldpad
 
 **fcoe=**__<edd|interface|MAC>__:__{dcb|nodcb}__:__{fabric|vn2vn}__::
index 6b1844b01947784994e65130c06d5dd5a5285e28..c860035fe6cdcad035e6de3cbfb05e0639100cdf 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
-if ! getargbool 1 rd.nofcoe ; then
-       info "rd.nofcoe=0: skipping lldpad activation"
+if ! getargbool 1 rd.fcoe -d -n rd.nofcoe ; then
+       info "rd.fcoe=0: skipping lldpad activation"
        return 0
 fi
 
index 5553602f82dd8c89d0e9dc492300ea08d3056f32..0a8067f5e2c902a2d37a866590530d3f8f55a8cf 100755 (executable)
@@ -13,8 +13,8 @@
 # fcoe=eth0:nodcb:vn2vn
 # fcoe=4a:3f:4c:04:f8:d7:nodcb:fabric
 
-if ! getargbool 1 rd.nofcoe ; then
-       info "rd.nofcoe=0: skipping fcoe"
+if ! getargbool 1 rd.fcoe -d -n rd.nofcoe ; then
+       info "rd.fcoe=0: skipping fcoe"
        return 0
 fi