Adapt to fipvlan naming change (#823086)
The "-f" option keeps former naming with "-fcoe" suffix.
Resolves: rhbz#823086
---
storage/fcoe.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/storage/fcoe.py b/storage/fcoe.py
index 90492b0..0c3ec30 100644
--- a/storage/fcoe.py
+++ b/storage/fcoe.py
@@ -127,14 +127,14 @@ class fcoe(object):
iutil.execWithRedirect("dcbtool", [ "sc", nic, "app:fcoe",
"e:1", "a:1", "w:1" ],
stdout = "/dev/tty5", stderr="/dev/tty5")
- iutil.execWithRedirect("fipvlan", [ nic, "-c", "-s" ],
+ iutil.execWithRedirect("fipvlan", [ nic, "-c", "-s", "-f"],
stdout = "/dev/tty5", stderr="/dev/tty5")
else:
if auto_vlan:
# certain network configrations require the VLAN layer module:
iutil.execWithRedirect("modprobe", ["8021q"],
stdout = "/dev/tty5", stderr="/dev/tty5")
- iutil.execWithRedirect("fipvlan", ['-c', '-s', nic],
+ iutil.execWithRedirect("fipvlan", ['-c', '-s', '-f', nic],
stdout = "/dev/tty5", stderr="/dev/tty5")
else:
f = open("/sys/module/libfcoe/parameters/create", "w")
--
1.7.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|