[master] [PATCH] Don't try to load ifcfg files for wifi devices (#865355)
Radek Vykydal
rvykydal at redhat.com
Thu Oct 11 16:08:55 UTC 2012
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 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
More information about the anaconda-patches
mailing list