summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-08-31 14:06:01 +0000
committerErik Troan <ewt@redhat.com>1999-08-31 14:06:01 +0000
commit4905d5eb076f1a9f2eea985342a31b8e7a5db9fe (patch)
tree318f57c21c8c40a9226bf37870c34ebe0dd30979 /installclass.py
parent187cfe589894dae29e9effc3ad68f9a2f2521e11 (diff)
downloadanaconda-4905d5eb076f1a9f2eea985342a31b8e7a5db9fe.tar.gz
anaconda-4905d5eb076f1a9f2eea985342a31b8e7a5db9fe.tar.xz
anaconda-4905d5eb076f1a9f2eea985342a31b8e7a5db9fe.zip
fixed network stuff
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/installclass.py b/installclass.py
index 8e6a5ac10..1797283c1 100644
--- a/installclass.py
+++ b/installclass.py
@@ -72,7 +72,8 @@ class InstallClass:
self.nameserver = nameserver
def getNetwork(self):
- return (bootProto, ip, netmask, gateway, nameserver)
+ return (self.bootProto, self.ip, self.netmask, self.gateway,
+ self.nameserver)
def __init__(self):
self.skipSteps = {}
@@ -85,10 +86,10 @@ class InstallClass:
self.rootPassword = None
self.installType = None
self.bootProto = None
- self.ip = None
- self.netmask = None
- self.gateway = None
- self.nameserver = None
+ self.ip = ""
+ self.netmask = ""
+ self.gateway = ""
+ self.nameserver = ""
# custom installs are easy :-)
class CustomInstall(InstallClass):