Use correct image variable for vm install

Before we used the default image variable. Overriding the image did not
properly work. Now it does!
This commit is contained in:
Sebastian Lohff 2020-01-22 00:12:47 +01:00
parent 0d589a81a4
commit 1c3ec6d86e
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
# qemu-img for image # qemu-img for image
- name: Write image - name: Write image
shell: "qemu-img convert -O raw {{ xen_vm_creator_image|quote }} /dev/{{ xen_vm_creator_lvm_vg_name }}/{{ vm.hostname }}-disk" shell: "qemu-img convert -O raw {{ vm.image|quote }} /dev/{{ xen_vm_creator_lvm_vg_name }}/{{ vm.hostname }}-disk"
# start vm # start vm
- name: Start VM - name: Start VM