[master] [PATCH] Don't try to load ifcfg files for wifi devices (#865355)
Vratislav Podzimek
vpodzime at redhat.com
Thu Oct 11 09:55:45 UTC 2012
Wifi connections have separate ifcfg files, not specified by the
device name.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/installclasses/fedora.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/installclasses/fedora.py b/pyanaconda/installclasses/fedora.py
index 3fe2bd3..013b9ed 100644
--- a/pyanaconda/installclasses/fedora.py
+++ b/pyanaconda/installclasses/fedora.py
@@ -118,7 +118,8 @@ class InstallClass(BaseInstallClass):
def setNetworkOnbootDefault(self, ksdata):
# if something's already enabled, we can just leave the config alone
for devName in network.getDevices():
- if network.get_ifcfg_value(devName, "ONBOOT", ROOT_PATH) == "yes":
+ if not isys.isWirelessDevice(devName) and \
+ network.get_ifcfg_value(devName, "ONBOOT", ROOT_PATH) == "yes":
return
# the default otherwise: bring up the first wired netdev with link
--
1.7.11.4
More information about the anaconda-patches
mailing list