summaryrefslogtreecommitdiffstats
path: root/textw/netconfig_text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-21 11:02:59 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 14:07:31 -0500
commitd6d4c4800ebc2958eb87a706e4a7c799647ca447 (patch)
tree4dd234f33d31b4ef68007b8f8392e321f151ad17 /textw/netconfig_text.py
parent2c4932e109f2f913d5efb9f906348ffaacd6b0ee (diff)
downloadanaconda-d6d4c4800ebc2958eb87a706e4a7c799647ca447.tar.gz
anaconda-d6d4c4800ebc2958eb87a706e4a7c799647ca447.tar.xz
anaconda-d6d4c4800ebc2958eb87a706e4a7c799647ca447.zip
Move network to the Anaconda object.
Diffstat (limited to 'textw/netconfig_text.py')
-rw-r--r--textw/netconfig_text.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/textw/netconfig_text.py b/textw/netconfig_text.py
index 986db2dd6..4cea19204 100644
--- a/textw/netconfig_text.py
+++ b/textw/netconfig_text.py
@@ -96,10 +96,10 @@ class NetworkConfiguratorText:
self.interfaceList = CheckboxTree(height=3, scroll=1)
- netdevs = self.anaconda.id.network.available()
+ netdevs = self.anaconda.network.available()
devs = netdevs.keys()
devs.sort()
- ksdevice = self.anaconda.id.network.getKSDevice()
+ ksdevice = self.anaconda.network.getKSDevice()
if ksdevice:
ksdevice = ksdevice.get('DEVICE')
selected_interface = None
@@ -178,7 +178,7 @@ class NetworkConfiguratorText:
#self._ipv6Toggled()
self._dhcpToggled()
- netdevs = self.anaconda.id.network.available()
+ netdevs = self.anaconda.network.available()
while True:
result = grid.run()
@@ -274,7 +274,7 @@ class NetworkConfiguratorText:
continue
w = self.anaconda.intf.waitWindow(_("Configuring Network Interfaces"), _("Waiting for NetworkManager"))
- result = self.anaconda.id.network.bringUp(devices=selected_netdevs)
+ result = self.anaconda.network.bringUp(devices=selected_netdevs)
w.pop()
if result:
break