[PATCH master] Don't look for ifcfgs of wireless devices (#860791)
Vratislav Podzimek
vpodzime at redhat.com
Wed Oct 3 07:18:28 UTC 2012
Looks good to me.
On Tue, 2012-10-02 at 23:00 +0200, Radek Vykydal wrote:
> 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":
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list