[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Activate ipv6 nics when an ipv6 ip is defined. (445394)
- From: Joel Granados Moreno <jgranado redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH] Activate ipv6 nics when an ipv6 ip is defined. (445394)
- Date: Tue, 31 Mar 2009 18:01:23 +0200
---
network.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/network.py b/network.py
index a5bae0d..3572374 100644
--- a/network.py
+++ b/network.py
@@ -140,6 +140,9 @@ class NetworkDevice(SimpleConfigFile):
else:
forceOffOnBoot = 0
+ if self.get('USEIPV6'):
+ forceOffOnBoot = 0
+
onBootWritten = 0
for key in keys:
if key in ("USEIPV4", "USEIPV6"): # XXX: these are per-device, but not written out
@@ -537,8 +540,6 @@ class Network:
if dev.get("useIPv6"):
useIPv6 = "yes"
- else:
- useIPv6 = "no"
# /etc/sysconfig/network
f = open(instPath + "/etc/sysconfig/network", "w")
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]