[PATCH 2/7] Network TUI: ignore slaves devices for configuration.
Radek Vykydal
rvykydal at redhat.com
Fri Sep 13 13:32:16 UTC 2013
---
pyanaconda/ui/tui/spokes/network.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pyanaconda/ui/tui/spokes/network.py b/pyanaconda/ui/tui/spokes/network.py
index f14d42a..f470416 100644
--- a/pyanaconda/ui/tui/spokes/network.py
+++ b/pyanaconda/ui/tui/spokes/network.py
@@ -55,6 +55,9 @@ class NetworkSpoke(EditTUISpoke):
def initialize(self):
for name in nm_devices():
if nm_device_type_is_ethernet(name):
+ # ignore slaves
+ if nm_device_setting_value(name, "connection", "slave-type"):
+ continue
self.supported_devices.append(name)
EditTUISpoke.initialize(self)
--
1.7.11.7
More information about the anaconda-patches
mailing list