[libvirt] [jenkins-ci PATCH 6/8] guests: Move install configs

Andrea Bolognani abologna at redhat.com
Thu Jul 19 16:32:06 UTC 2018


The rationale is the same as for moving playbooks.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/{ => configs}/kickstart.cfg | 0
 guests/{ => configs}/preseed.cfg   | 0
 guests/lcitool                     | 2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename guests/{ => configs}/kickstart.cfg (100%)
 rename guests/{ => configs}/preseed.cfg (100%)

diff --git a/guests/kickstart.cfg b/guests/configs/kickstart.cfg
similarity index 100%
rename from guests/kickstart.cfg
rename to guests/configs/kickstart.cfg
diff --git a/guests/preseed.cfg b/guests/configs/preseed.cfg
similarity index 100%
rename from guests/preseed.cfg
rename to guests/configs/preseed.cfg
diff --git a/guests/lcitool b/guests/lcitool
index 13f0392..96a59ac 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -393,7 +393,7 @@ class Application:
                 raise Error(
                     "Host {} doesn't support installation".format(host)
                 )
-            initrd_inject = os.path.join(base, install_config)
+            initrd_inject = os.path.join(base, "configs", install_config)
 
             # preseed files must use a well-known name to be picked up by
             # d-i; for kickstart files, we can use whatever name we please
-- 
2.17.1




More information about the libvir-list mailing list