[PATCH f19-branch] Fix traceback of noipv6 option with wireless devices (#970077)

Radek Vykydal rvykydal at redhat.com
Tue Jun 4 12:00:38 UTC 2013


---
 pyanaconda/network.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index 6532e6e..2e93f1c 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -689,7 +689,7 @@ def disableIPV6(rootpath):
     cfgfile = os.path.normpath(rootpath + ipv6ConfFile)
     if ('noipv6' in flags.cmdline
         and all(nm.nm_device_setting_value(dev, "ipv6", "method") == "ignore"
-                for dev in nm.nm_devices())):
+                for dev in nm.nm_devices() if nm.nm_device_type_is_ethernet(dev))):
         log.info('Disabling ipv6 on target system')
         with open(cfgfile, "a") as f:
             f.write("# Anaconda disabling ipv6 (noipv6 option)\n")
-- 
1.7.11.7



More information about the anaconda-patches mailing list