summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-23 03:37:54 +0000
committerMatt Wilson <msw@redhat.com>1999-09-23 03:37:54 +0000
commit2e37a716c803860556b085fefeb7f1466f9938bc (patch)
treeb36a2737a0987eea8225e3d59a10c2cc514a3980 /todo.py
parenta9c4cadd1638271a37b3ea833b43ca79083dfb54 (diff)
downloadanaconda-2e37a716c803860556b085fefeb7f1466f9938bc.tar.gz
anaconda-2e37a716c803860556b085fefeb7f1466f9938bc.tar.xz
anaconda-2e37a716c803860556b085fefeb7f1466f9938bc.zip
fix for dhcp + kickstart?
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/todo.py b/todo.py
index 051a63efe..87c3e5eb9 100644
--- a/todo.py
+++ b/todo.py
@@ -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