Wifi connections have separate ifcfg files, not specified by the device name.
Signed-off-by: Vratislav Podzimek vpodzime@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
Ack. General move from devices to connections in anaconda networking is something I am planning work on later.
On 10/11/2012 05:55 AM, Vratislav Podzimek wrote:
Wifi connections have separate ifcfg files, not specified by the device name.
Signed-off-by: Vratislav Podzimek vpodzime@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
anaconda-patches@lists.fedorahosted.org