--- 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 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list