summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-02 20:10:31 +0000
committerMatt Wilson <msw@redhat.com>2000-02-02 20:10:31 +0000
commit584d4398e7138404aea8249fafa12c942e3fc5e7 (patch)
tree4ae84f836fbce62b38899b1916075e545107c3ba /kickstart.py
parentabd82bafa1ffcd8aadbed0722b6738da2bfa6c40 (diff)
downloadanaconda-584d4398e7138404aea8249fafa12c942e3fc5e7.tar.gz
anaconda-584d4398e7138404aea8249fafa12c942e3fc5e7.tar.xz
anaconda-584d4398e7138404aea8249fafa12c942e3fc5e7.zip
added nodns option
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index 877b87e5c..a602c2a07 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -152,8 +152,10 @@ class Kickstart(InstallClass):
self.installType = "upgrade"
def doNetwork(self, args):
+ # nodns is only used by the loader
(args, extra) = isys.getopt(args, '',
- [ 'bootproto=', 'ip=', 'netmask=', 'gateway=', 'nameserver=' ])
+ [ 'bootproto=', 'ip=', 'netmask=', 'gateway=', 'nameserver=',
+ 'nodns'])
bootProto = "dhcp"
ip = None
netmask = ""