[PATCH] Replace ' ' with '_' when looking for ifcfg files (#869106)

Radek Vykydal rvykydal at redhat.com
Mon Oct 29 12:46:18 UTC 2012


---
 pyanaconda/ui/gui/spokes/network.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 26cf3e7..37953d9 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -1055,6 +1055,7 @@ def getKSNetworkData(device):
         if ap:
             ifcfg_suffix = ap.get_ssid()
 
+    ifcfg_suffix = ifcfg_suffix.replace(' ', '_')
     if ifcfg_suffix:
         device_cfg = NetworkDevice(netscriptsDir, ifcfg_suffix)
         device_cfg.loadIfcfgFile()
-- 
1.7.4



More information about the anaconda-patches mailing list