--- network.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/network.py b/network.py index 8b0d109..7c664bf 100644 --- a/network.py +++ b/network.py @@ -316,6 +316,8 @@ class Network: self.overrideDHCPhostname = False self.update() + # We want wireless devices to be nm controlled by default + self.controlWireless() def update(self): @@ -441,6 +443,11 @@ class Network: ifaces.append(iface) return ifaces + def controlWireless(self): + for devname, device in self.netdevices.items(): + if isys.isWireless(devname): + device.set(('NM_CONTROLLED', 'yes')) + def writeKS(self, f): devNames = self.netdevices.keys() devNames.sort() -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list