diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-10-18 21:33:24 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-10-18 21:33:24 +0000 |
commit | 0d9b4b5a0c609ad72395b3c1576d081c84f8b16c (patch) | |
tree | 21378cf32fb3edfde430ba5aea50eafcd6636102 /network.py | |
parent | 7193f7923b457cb659b7d40becb0c7f72600b8b4 (diff) | |
download | anaconda-0d9b4b5a0c609ad72395b3c1576d081c84f8b16c.tar.gz anaconda-0d9b4b5a0c609ad72395b3c1576d081c84f8b16c.tar.xz anaconda-0d9b4b5a0c609ad72395b3c1576d081c84f8b16c.zip |
* anaconda (parseOptions): Add the --noipv4 and --noipv6 opts (#208334).
* anaconda (__main__): Set flags.useIPv4 and flags.useIPv6 to false if
we receive one of the --noipv{4,6} options (#208334).
* flags.py (Flags): Add useIPv4 and useIPv6 flags, default to
True (#208334).
* network.py (Network): Initialize self.useIPv4 and self.useIPv6 to
flags.useIPv4 and flags.useIPv6 (#208334).
* loader2/loader.c (doLoaderMain): After readNetConfig() call, set the
noipv4 and noipv6 flags in loaderData (#208334).
* loader2/loader.c (main): If noipv4 or noipv6 flag is set in the
loaderData, add option to pass to anaconda (#208334).
* loader2/net.c (readNetConfig): Set noipv4 and noipv6 flags in newCfg
after configureTCPIP() call (#208334).
* loader2/net.c (readNetConfig): After dialog window closes, copy the
noipv4 and noipv6 flags from newCfg to cfg (#208334).
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network.py b/network.py index 6d9ba8d53..f3735624b 100644 --- a/network.py +++ b/network.py @@ -172,8 +172,8 @@ class Network: self.domains = [] self.isConfigured = 0 self.hostname = "localhost.localdomain" - self.useIPv4 = True - self.useIPv6 = True + self.useIPv4 = flags.useIPv4 + self.useIPv6 = flags.useIPv6 # if we specify a hostname and are using dhcp, do an override # originally used by the gui but overloaded now |