[PATCH rhel7-branch] network GUI: ignore fcoe vlan devices (#1051268)

Brian C. Lane bcl at redhat.com
Fri Jan 10 20:04:23 UTC 2014


On Fri, Jan 10, 2014 at 01:29:55PM +0100, Radek Vykydal wrote:
> Resolves: rhbz#1051268
> ---
>  pyanaconda/ui/gui/spokes/network.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
> index 1dbec82..0c1baea 100644
> --- a/pyanaconda/ui/gui/spokes/network.py
> +++ b/pyanaconda/ui/gui/spokes/network.py
> @@ -650,6 +650,9 @@ class NetworkControlBox(GObject.GObject):
>      def add_device_to_list(self, device):
>          if device.get_device_type() not in self.supported_device_types:
>              return
> +        # ignore fcoe vlan devices
> +        if device.get_iface().endswith('fcoe'):
> +            return
>  
>          try:
>              con_uuid = nm.nm_device_setting_value(device.get_iface(), "connection", "uuid")
> -- 
> 1.7.11.7

Ack

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list