[PATCH rhel6-branch] Fix fipvlan -f argument once more and for good (#836321)

Radek Vykydal rvykydal at redhat.com
Wed Dec 5 08:32:29 UTC 2012


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

diff --git a/storage/fcoe.py b/storage/fcoe.py
index 75c932b..4fe851e 100644
--- a/storage/fcoe.py
+++ b/storage/fcoe.py
@@ -129,7 +129,7 @@ class fcoe(object):
                                "e:1", "a:1", "w:1" ],
                                stdout = "/dev/tty5", stderr="/dev/tty5")
             iutil.execWithRedirect("fipvlan", [ "-c", "-s", "-f",
-                                               "'-fcoe'", nic],
+                                               "-fcoe", nic],
                                stdout = "/dev/tty5", stderr="/dev/tty5")
         else:
             if auto_vlan:
@@ -137,7 +137,7 @@ class fcoe(object):
                 iutil.execWithRedirect("modprobe", ["8021q"],
                                        stdout = "/dev/tty5", stderr="/dev/tty5")
                 iutil.execWithRedirect("fipvlan", ['-c', '-s', '-f',
-                                                   "'-fcoe'",  nic],
+                                                   "-fcoe",  nic],
                                     stdout = "/dev/tty5", stderr="/dev/tty5")
             else:
                 f = open("/sys/module/libfcoe/parameters/create", "w")
-- 
1.7.4



More information about the anaconda-patches mailing list