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

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



Ack.

On Thu, Jun 14, 2012 at 02:09:37PM +0200, Radek Vykydal wrote:
> 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 redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
David Cantrell <dcantrell redhat com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT


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