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

Radek Vykydal rvykydal at redhat.com
Fri Jan 10 12:29:55 UTC 2014


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



More information about the anaconda-patches mailing list