[PATCH rhel6-branch] Use edd fcoe boot option instead of enumerating all ifaces (#909463)

Vratislav Podzimek vpodzime at redhat.com
Mon Jun 24 13:56:45 UTC 2013


On Mon, 2013-06-24 at 15:37 +0200, Radek Vykydal wrote:
> This was kind of regression which slipped in 6.4 with patches for fcoe
> kickstart support. For details please see the Doc Text of the BZ.
> 
> Resolves: rhbz#909463
> 
> ---
>  storage/devices.py | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/storage/devices.py b/storage/devices.py
> index 19e4f35..42e3b6f 100644
> --- a/storage/devices.py
> +++ b/storage/devices.py
> @@ -3770,10 +3770,7 @@ class FcoeDiskDevice(DiskDevice, NetworkStorageDevice):
>          else:
>              dcbOpt = "nodcb"
>  
> -        if nic in fcoe().ksnics:
> -            return set(["fcoe=%s:%s" % (nic, dcbOpt)])
> -        else:
> -            return set(["fcoe=edd:%s" % dcbOpt])
> +        return set(["fcoe=edd:%s" % dcbOpt])
>  
> 
>  class OpticalDevice(StorageDevice):
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list