diff options
author | Chris Lumens <clumens@redhat.com> | 2005-07-13 15:53:34 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-07-13 15:53:34 +0000 |
commit | 52cdc60ca9287e1a65c54cea3338d5f69dce0822 (patch) | |
tree | 15c451ed51c3e422771acbb3eca41155f94a8eab /network.py | |
parent | 848858bc9f4de7614a3c586c5b24048c2c3f69f9 (diff) | |
download | anaconda-52cdc60ca9287e1a65c54cea3338d5f69dce0822.tar.gz anaconda-52cdc60ca9287e1a65c54cea3338d5f69dce0822.tar.xz anaconda-52cdc60ca9287e1a65c54cea3338d5f69dce0822.zip |
Fix multiple NICs in kickstart config files (#158566).
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/network.py b/network.py index efcab6d7c..94752b9f3 100644 --- a/network.py +++ b/network.py @@ -175,6 +175,7 @@ class Network: if len(netinf) >= 2: info [netinf[0]] = string.strip(netinf[1]) self.netdevices [info["DEVICE"]] = NetworkDevice(info["DEVICE"]) + self.firstnetdevice = info["DEVICE"] for key in ("IPADDR", "NETMASK", "BOOTPROTO", "ONBOOT", "MTU", "NETTYPE", "SUBCHANNELS", "PORTNAME", "CTCPROT", "PEERID", "ESSID", "KEY"): |