[PATCH rhel6-branch] Fix fipvlan -f argument once more and for good (#836321)
Chris Lumens
clumens at redhat.com
Wed Dec 5 20:33:52 UTC 2012
> 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")
This looks fine.
- Chris
More information about the anaconda-patches
mailing list