[PATCH rhel6-branch] Add missing '-fcoe' suffix to fipvlan -f option (#823086)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Related: rhbz#823086
---
 storage/fcoe.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/storage/fcoe.py b/storage/fcoe.py
index 0c3ec30..0841f79 100644
--- a/storage/fcoe.py
+++ b/storage/fcoe.py
@@ -127,14 +127,16 @@ 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", "-f"],
+            iutil.execWithRedirect("fipvlan", [ "-c", "-s", "-f",
+                                               "'-fcoe'", nic],
                                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', '-f', nic],
+                iutil.execWithRedirect("fipvlan", ['-c', '-s', '-f',
+                                                   "'-fcoe'",  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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux