Skip to content

Commit 6f7823b

Browse files
lnykrynjohannbg
authored andcommitted
fix(fcoe): rename rd.nofcoe to rd.fcoe
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,....
1 parent 805b46c commit 6f7823b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dracut.cmdline.7.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ iscsistart -b --param node.session.timeo.replacement_timeout=30
868868
869869
FCoE
870870
~~~~
871-
**rd.nofcoe=0**::
871+
**rd.fcoe=0**::
872872
disable FCoE and lldpad
873873
874874
**fcoe=**__<edd|interface|MAC>__:__{dcb|nodcb}__:__{fabric|vn2vn}__::

modules.d/95fcoe/lldpad.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
if ! getargbool 1 rd.nofcoe ; then
4-
info "rd.nofcoe=0: skipping lldpad activation"
3+
if ! getargbool 1 rd.fcoe -d -n rd.nofcoe ; then
4+
info "rd.fcoe=0: skipping lldpad activation"
55
return 0
66
fi
77

modules.d/95fcoe/parse-fcoe.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# fcoe=eth0:nodcb:vn2vn
1414
# fcoe=4a:3f:4c:04:f8:d7:nodcb:fabric
1515

16-
if ! getargbool 1 rd.nofcoe ; then
17-
info "rd.nofcoe=0: skipping fcoe"
16+
if ! getargbool 1 rd.fcoe -d -n rd.nofcoe ; then
17+
info "rd.fcoe=0: skipping fcoe"
1818
return 0
1919
fi
2020

0 commit comments

Comments
 (0)