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
This commit is contained in:
Adriano Petrich 2017-08-30 08:54:22 +01:00
parent 2d4844e34e
commit 1a73e9a65b

View File

@ -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: