From 1a73e9a65bccb15d4937f76671ba216bcce4da54 Mon Sep 17 00:00:00 2001 From: Adriano Petrich Date: Wed, 30 Aug 2017 08:54:22 +0100 Subject: [PATCH] Change where the modify script logs Right now it logs on something like /var/lib/oooq-images/repo_setup.sh.log this changes so that it can save that log on the {{working_dir}} to be more accessible Change-Id: Ifa7d6eb43ea86e97ef5707d378901d3e2c074a7a --- roles/modify-image/tasks/libguestfs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/modify-image/tasks/libguestfs.yml b/roles/modify-image/tasks/libguestfs.yml index 93a9b2b07..1c8786aeb 100644 --- a/roles/modify-image/tasks/libguestfs.yml +++ b/roles/modify-image/tasks/libguestfs.yml @@ -41,7 +41,7 @@ shell: > virt-customize {{ _vc_args }} -a {{ image_to_modify }} - > {{ modify_script|default('modify_image') }}.log 2>&1 + > {{ working_dir }}/{{ modify_script|default('modify_image')|replace('/','_') }}.log 2>&1 environment: LIBGUESTFS_BACKEND: direct args: