[PATCH] Fix variable substitution in kickstart files

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

 



When creating repos from kickstart files the yumvar dict needs to be
passed to it, otherwise variable substitution in urls will not work.
---
 pyanaconda/yuminstall.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 437fd16..f811ac6 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -813,6 +813,7 @@ class AnacondaYum(yum.YumBase):
                     ksrepo.baseurl = "file://%s" % dest
 
                 repo = AnacondaYumRepo(ksrepo.name)
+                repo.yumvar.update(self.conf.yumvar)
                 repo.mirrorlist = ksrepo.mirrorlist
                 repo.name = ksrepo.name
 
-- 
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux