|
|
1bf31c |
From db5fda123c2960e99cb29399bdedbd56d672c72d Mon Sep 17 00:00:00 2001
|
|
|
1bf31c |
From: Thomas Blume <Thomas.Blume@suse.com>
|
|
|
1bf31c |
Date: Mon, 24 Feb 2020 12:11:25 +0100
|
|
|
1bf31c |
Subject: [PATCH] 95fcoe: default rd.nofcoe to false
|
|
|
1bf31c |
|
|
|
1bf31c |
rd.nofcoe should default to false, e.g. fcoe should be enabled unless
|
|
|
1bf31c |
overwritten from the command line.
|
|
|
1bf31c |
The same applies for lldapd.sh.
|
|
|
1bf31c |
|
|
|
1bf31c |
(cherry picked from commit 8446c8f9deefcc6c47d96a128b1e9b23d8855a96)
|
|
|
1bf31c |
|
|
|
1bf31c |
Resolves: #1885621
|
|
|
1bf31c |
---
|
|
|
1bf31c |
modules.d/95fcoe/lldpad.sh | 2 +-
|
|
|
1bf31c |
modules.d/95fcoe/parse-fcoe.sh | 2 +-
|
|
|
1bf31c |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
1bf31c |
|
|
|
1bf31c |
diff --git a/modules.d/95fcoe/lldpad.sh b/modules.d/95fcoe/lldpad.sh
|
|
|
1bf31c |
index 444c943e..7faa2e19 100755
|
|
|
1bf31c |
--- a/modules.d/95fcoe/lldpad.sh
|
|
|
1bf31c |
+++ b/modules.d/95fcoe/lldpad.sh
|
|
|
1bf31c |
@@ -1,6 +1,6 @@
|
|
|
1bf31c |
#!/bin/bash
|
|
|
1bf31c |
|
|
|
1bf31c |
-if ! getargbool 0 rd.nofcoe ; then
|
|
|
1bf31c |
+if getargbool 0 rd.nofcoe ; then
|
|
|
1bf31c |
info "rd.nofcoe=0: skipping lldpad activation"
|
|
|
1bf31c |
return 0
|
|
|
1bf31c |
fi
|
|
|
1bf31c |
diff --git a/modules.d/95fcoe/parse-fcoe.sh b/modules.d/95fcoe/parse-fcoe.sh
|
|
|
1bf31c |
index 8bb55c6e..86f4331e 100755
|
|
|
1bf31c |
--- a/modules.d/95fcoe/parse-fcoe.sh
|
|
|
1bf31c |
+++ b/modules.d/95fcoe/parse-fcoe.sh
|
|
|
1bf31c |
@@ -13,7 +13,7 @@
|
|
|
1bf31c |
# fcoe=eth0:nodcb:vn2vn
|
|
|
1bf31c |
# fcoe=4a:3f:4c:04:f8:d7:nodcb:fabric
|
|
|
1bf31c |
|
|
|
1bf31c |
-if ! getargbool 0 rd.nofcoe ; then
|
|
|
1bf31c |
+if getargbool 0 rd.nofcoe ; then
|
|
|
1bf31c |
info "rd.nofcoe=0: skipping fcoe"
|
|
|
1bf31c |
return 0
|
|
|
1bf31c |
fi
|
|
|
28ab1c |
|