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

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

 



On 09/21/2011 09:48 AM, Radek Vykydal wrote:
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))

Ack, but check your tabs and spaces. The lines in this if block are indented with two tabs, then 4 spaces. Yes, it's old ugly code but keep it consistent.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT

_______________________________________________
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