summaryrefslogtreecommitdiffstats
path: root/flags.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-10-18 21:33:24 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-10-18 21:33:24 +0000
commit0d9b4b5a0c609ad72395b3c1576d081c84f8b16c (patch)
tree21378cf32fb3edfde430ba5aea50eafcd6636102 /flags.py
parent7193f7923b457cb659b7d40becb0c7f72600b8b4 (diff)
downloadanaconda-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 'flags.py')
-rw-r--r--flags.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/flags.py b/flags.py
index 764c58325..af69aeb88 100644
--- a/flags.py
+++ b/flags.py
@@ -64,6 +64,8 @@ class Flags:
self.__dict__['flags']['debug'] = 0
self.__dict__['flags']['targetarch'] = None
self.__dict__['flags']['cmdline'] = self.createCmdlineDict()
+ self.__dict__['flags']['useIPv4'] = True
+ self.__dict__['flags']['useIPv6'] = True
# for non-physical consoles like some ppc and sgi altix,
# we need to preserve the console device and not try to
# do things like bogl on them. this preserves what that