Re: [PATCH] Activate ipv6 nics when an ipv6 ip is defined. (445394)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks good,

Regards,

Hans


On 03/31/2009 06:01 PM, Joel Granados Moreno wrote:
---
  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")

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux