Browse Source

Use correct image variable for vm install

Before we used the default image variable. Overriding the image did not
properly work. Now it does!
Sebastian Lohff 2 months ago
parent
commit
1c3ec6d86e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tasks/install-vm.yml

+ 1
- 1
tasks/install-vm.yml View File

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

Loading…
Cancel
Save