diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-05-07 19:02:46 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-05-07 19:02:46 +0000 |
commit | bcb891b82fff4dccbf489fff0ec64c81cf876fd5 (patch) | |
tree | b1f133b51f28e8f1b154b3741195a26d3a571d27 /network.py | |
parent | 0ae335c85f0c916584a2863ab5882890c73fc7d7 (diff) | |
download | anaconda-bcb891b82fff4dccbf489fff0ec64c81cf876fd5.tar.gz anaconda-bcb891b82fff4dccbf489fff0ec64c81cf876fd5.tar.xz anaconda-bcb891b82fff4dccbf489fff0ec64c81cf876fd5.zip |
* network.py: Update calls to configNetDevice() and dhcpNetDevice() in
isys to match new parameter list.
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/network.py b/network.py index a91dadd97..474accb1f 100644 --- a/network.py +++ b/network.py @@ -324,7 +324,7 @@ class Network: for dev in self.netdevices.values(): if (dev.get('bootproto').lower() == "dhcp" and dev.get('onboot') == "yes"): - ret = isys.pumpNetDevice(dev.get('device'), dev.get('dhcpclass')) + ret = isys.dhcpNetDevice(dev) if ret is None: continue myns = ret @@ -333,10 +333,7 @@ class Network: elif (dev.get('ipaddr') and dev.get('netmask') and self.gateway is not None and dev.get('onboot') == "yes"): try: - isys.configNetDevice(dev.get('device'), - dev.get('ipaddr'), - dev.get('netmask'), - self.gateway) + isys.configNetDevice(dev, self.gateway) self.isConfigured = 1 break except SystemError: |