diff --git a/src/pylorax/yumbase.py b/src/pylorax/yumbase.py index ded8b616..f6c6bd71 100644 --- a/src/pylorax/yumbase.py +++ b/src/pylorax/yumbase.py @@ -44,17 +44,17 @@ def get_yum_base_object(installroot, repositories, mirrorlists=[], repositories = filter(bool, repositories) mirrorlists = filter(bool, mirrorlists) - cachedir = os.path.join(tempdir, "yum.cache") - if not os.path.isdir(cachedir): - os.mkdir(cachedir) + #cachedir = os.path.join(tempdir, "yum.cache") + #if not os.path.isdir(cachedir): + # os.mkdir(cachedir) yumconf = os.path.join(tempdir, "yum.conf") c = ConfigParser.ConfigParser() # add the main section section = "main" - data = {"cachedir": cachedir, - "keepcache": 0, + data = {#"cachedir": cachedir, + #"keepcache": 0, "gpgcheck": 0, "plugins": 0, "reposdir": "",