[PATCH rhel6-branch] Adapt to fipvlan naming change (#823086)

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

 



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@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