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))
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.
anaconda-devel@lists.fedoraproject.org