diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-05-09 21:26:23 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-05-09 21:26:23 +0000 |
commit | 344efbe832df0d9b7e013df23e01694cfafe0773 (patch) | |
tree | 99089ea79b928600e156468e3b32fc2a5b11b66c /network.py | |
parent | 701ab529fc4711a320f0dfe934cfc57cb2fdd103 (diff) | |
download | anaconda-344efbe832df0d9b7e013df23e01694cfafe0773.tar.gz anaconda-344efbe832df0d9b7e013df23e01694cfafe0773.tar.xz anaconda-344efbe832df0d9b7e013df23e01694cfafe0773.zip |
handle multiple network device configuration better from kickstart (#64108)
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/network.py b/network.py index 977e85aab..3372697ec 100644 --- a/network.py +++ b/network.py @@ -132,6 +132,12 @@ class Network: def setHostname(self, hn): self.hostname = hn + def setDNS(self, ns): + self.primaryNS = ns + + def setGateway(self, gw): + self.gateway = gw + def lookupHostname(self): # can't look things up if they don't exist! if not self.hostname or self.hostname == "localhost.localdomain": |