[PATCH rhel5-branch] Initialize useIPv6 device setting (#713120)

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

 



We need to set the default (which is "yes") also in cases when
network is not activated in loader and kickstart is not used
(i.e. interactive DVD installs).
---
 network.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/network.py b/network.py
index c840cde..fd168b1 100644
--- a/network.py
+++ b/network.py
@@ -280,6 +280,10 @@ class Network:
 	    for netdev in probedevs:
 		device = netdev.device
 		if device in self.netdevices.keys():
+
+                    self.netdevices[device].set(("useIPv4", flags.useIPv4))
+                    self.netdevices[device].set(("useIPv6", flags.useIPv6))
+
 		    desc = netdev.desc
 		    if desc is not None and len(desc) > 0:
 			self.netdevices[device].set(("desc", desc))
-- 
1.7.4

_______________________________________________
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