[PATCH rhel7-branch 4/9] Network TUI: ignore slaves devices for configuration (#1011841)
Radek Vykydal
rvykydal at redhat.com
Wed Sep 25 12:54:24 UTC 2013
Resolves: rhbz#1011841
Port of commit 9026aab182573431b827b781d2f2100d32c15c89
---
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 4bd0dac..7f1bf2f 100644
--- a/pyanaconda/ui/tui/spokes/network.py
+++ b/pyanaconda/ui/tui/spokes/network.py
@@ -53,6 +53,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