[PATCH master] Don't look for ifcfgs of wireless devices (#860791)
Radek Vykydal
rvykydal at redhat.com
Tue Oct 2 21:00:25 UTC 2012
It is connections that are relevant here.
This is just a quick fix. For wireless, we need to move from concept of
devices to connections wrt ifcfg files
---
pyanaconda/network.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index 6a92d24..e6b65d1 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -781,6 +781,8 @@ def write_sysconfig_network(rootpath, ksdata, overwrite=False):
gateway = ipv6_defaultgw = None
for iface in reversed(getDevices()):
+ if isys.isWirelessDevice(iface):
+ continue
dev = NetworkDevice(netscriptsDir, iface)
dev.loadIfcfgFile()
if dev.get('DEFROUTE') != "no":
--
1.7.4
More information about the anaconda-patches
mailing list