FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 06-02-2010, 01:22 PM
Radek Vykydal
 
Default Wait only for activation of devices controlled by NM (#598432)

---
gui.py | 2 +-
network.py | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gui.py b/gui.py
index 88942d3..5d6a9fc 100755
--- a/gui.py
+++ b/gui.py
@@ -990,7 +990,7 @@ class InstallInterface(InstallInterfaceBase):
self.anaconda.id.network.update()

if just_setup:
- waited_devs = self.anaconda.id.network.getOnbootIfaces()
+ waited_devs = self.anaconda.id.network.getOnbootControlledIfaces ()
else:
waited_devs = [install_device]

diff --git a/network.py b/network.py
index 7ed5143..3d5a365 100644
--- a/network.py
+++ b/network.py
@@ -434,10 +434,11 @@ class Network:
else:
device.set(('ONBOOT', 'yes'))

- def getOnbootIfaces(self):
+ def getOnbootControlledIfaces(self):
ifaces = []
for iface, device in self.netdevices.items():
- if device.get('ONBOOT') == "yes":
+ if (device.get('ONBOOT') == "yes" and
+ device.get('NM_CONTROLLED' == "yes")):
ifaces.append(iface)
return ifaces

--
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org