summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratislav Podzimek <vpodzime@redhat.com>2012-10-11 11:55:45 +0200
committerChris Lumens <clumens@redhat.com>2012-10-11 17:04:47 -0400
commit24164ccb394337db26aed79c7c8bdf5409ca7469 (patch)
treea344a88deb5bc66e42f3d4490e4e64ef6aff2335
parentb798f988b2e132eb667182f4a9a54450a19a9d4b (diff)
downloadanaconda-24164ccb394337db26aed79c7c8bdf5409ca7469.tar.gz
anaconda-24164ccb394337db26aed79c7c8bdf5409ca7469.tar.xz
anaconda-24164ccb394337db26aed79c7c8bdf5409ca7469.zip
Don't try to load ifcfg files for wifi devices (#865355)
Wifi connections have separate ifcfg files, not specified by the device name. Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
-rw-r--r--pyanaconda/installclasses/fedora.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyanaconda/installclasses/fedora.py b/pyanaconda/installclasses/fedora.py
index 3fe2bd39d..013b9ed92 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