Fix libvirt VM location

This commit is contained in:
Sandwich 2024-03-22 05:23:12 +01:00
parent 946a705eb9
commit 691f671941

View File

@ -24,7 +24,7 @@
<devices>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/{{ hostname }}.qcow2'/>
<source file='{{ vm_path | default('/var/lib/libvirt/images/') }}{{ hostname }}.qcow2'/>
<target dev='vda' bus='virtio'/>
</disk>
<disk type="file" device="cdrom">