diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-12 04:52:29 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-12 04:52:29 +0000 |
commit | 8ebe60d6333894695b4e43bb23f378b65d551d35 (patch) | |
tree | 47c65058477bc67a89bc93d5dca3a6c513d0c86f /network.py | |
parent | c2f1f5ad4edbdc6e0aba16369c7d13a29385db1e (diff) | |
download | anaconda-8ebe60d6333894695b4e43bb23f378b65d551d35.tar.gz anaconda-8ebe60d6333894695b4e43bb23f378b65d551d35.tar.xz anaconda-8ebe60d6333894695b4e43bb23f378b65d551d35.zip |
add field so we know explicitly if dhcp hostname is being overridden manually or not
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/network.py b/network.py index db3405799..d47a54648 100644 --- a/network.py +++ b/network.py @@ -95,6 +95,11 @@ class Network: self.isConfigured = 0 self.hostname = "localhost.localdomain" + # this is only currently used in GUI + # elsewhere we test if the hostname is localhost.localdomain + # to see if its been override. Need some consolidation in future. + self.overrideDHCPhostname = 0 + try: f = open("/tmp/netinfo", "r") except: |