Write the README and remove variable duplicate storage_path for vm_path

This commit is contained in:
2024-03-22 04:53:51 +01:00
parent 8a2c086bf7
commit 95aa4d7189
4 changed files with 82 additions and 5 deletions

View File

@@ -34,7 +34,7 @@
</disk>
<disk type="file" device="cdrom">
<driver name="qemu" type="raw"/>
<source file="{{ storage_path | default('/var/lib/libvirt/images/') }}{{ hostname }}-cloudinit.iso"/>
<source file="{{ vm_path | default('/var/lib/libvirt/images/') }}{{ hostname }}-cloudinit.iso"/>
<target dev="sdb" bus="sata"/>
</disk>
<interface type='network'>