From 1c3ec6d86e84ec8382a8eaba07421463f2f0fea1 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Wed, 22 Jan 2020 00:12:47 +0100 Subject: [PATCH] Use correct image variable for vm install Before we used the default image variable. Overriding the image did not properly work. Now it does! --- tasks/install-vm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install-vm.yml b/tasks/install-vm.yml index 2babcef..de89b1d 100644 --- a/tasks/install-vm.yml +++ b/tasks/install-vm.yml @@ -77,7 +77,7 @@ # qemu-img for 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 - name: Start VM