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