Initialize useIPv6 device setting (#713120)
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@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
Initialize useIPv6 device setting (#713120)
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@redhat.com> Supervisor, Installer Engineering Team Red Hat, Inc. | Westford, MA | EST5EDT _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
Initialize useIPv6 device setting (#713120)
On 10/03/2011 03:58 PM, David Cantrell wrote:
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. Done and pushed. _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
| All times are GMT. The time now is 06:31 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.