From 7ad9939fac693e815dafb711bfb6711fba54eab6 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 14 Mar 2018 09:01:39 -0700 Subject: [PATCH] Cleanup more /tmp/ files when running with --no-virt Make extra sure anaconda starts with a clean slate. --- src/pylorax/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/installer.py b/src/pylorax/installer.py index 1cd0d464..5b39fc7c 100644 --- a/src/pylorax/installer.py +++ b/src/pylorax/installer.py @@ -247,7 +247,7 @@ def novirt_install(opts, disk_img, disk_size, repo_url, callback_func=None): selinux.security_setenforce(0) # Clean up /tmp/ from previous runs to prevent stale info from being used - for path in ["/tmp/yum.repos.d/", "/tmp/yum.cache/"]: + for path in ["/tmp/yum.repos.d/", "/tmp/yum.cache/", "/tmp/yum.root/", "/tmp/yum.pluginconf.d/"]: if os.path.isdir(path): shutil.rmtree(path)