diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-23 03:37:54 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-23 03:37:54 +0000 |
commit | 2e37a716c803860556b085fefeb7f1466f9938bc (patch) | |
tree | b36a2737a0987eea8225e3d59a10c2cc514a3980 /todo.py | |
parent | a9c4cadd1638271a37b3ea833b43ca79083dfb54 (diff) | |
download | anaconda-2e37a716c803860556b085fefeb7f1466f9938bc.tar.gz anaconda-2e37a716c803860556b085fefeb7f1466f9938bc.tar.xz anaconda-2e37a716c803860556b085fefeb7f1466f9938bc.zip |
fix for dhcp + kickstart?
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1148,12 +1148,13 @@ class ToDo: list = devices.keys () list.sort() dev = devices[list[0]] - dev.set (("bootproto", bootProto)) - - if (ip): - dev.set (("ipaddr", ip)) - if (netmask): - dev.set (("netmask", netmask)) + if bootProto: + dev.set (("bootproto", bootProto)) + else: + if (ip): + dev.set (("ipaddr", ip)) + if (netmask): + dev.set (("netmask", netmask)) if (todo.instClass.mouse): (type, device, emulateThreeButtons) = todo.instClass.mouse |