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

[PATCH master] Write out correct nfs url for repo= in /root/anaconda-ks.cfg (#584580)



So that we write out "nfs:..." instead of "file:///...".

---
 pyanaconda/yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index fdcea06..876a843 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -1903,7 +1903,7 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
             line = "repo --name=\"%s\" " % (repo.name or repo.repoid)
 
             if repo.baseurl:
-                line += " --baseurl=%s" % repo.baseurl[0]
+                line += " --baseurl=%s" % repo.anacondaBaseURLs[0]
             else:
                 line += " --mirrorlist=%s" % repo.mirrorlist
 
-- 
1.6.0.6


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