diff options
Diffstat (limited to 'templates/vm.rs.xml')
-rw-r--r-- | templates/vm.rs.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/vm.rs.xml b/templates/vm.rs.xml index 2004b35..daf66b2 100644 --- a/templates/vm.rs.xml +++ b/templates/vm.rs.xml @@ -34,9 +34,9 @@ </pm> <devices> <emulator>/run/libvirt/nix-emulators/qemu-system-x86_64</emulator> - <disk type="block" device="disk"> + <disk type="file" device="disk"> <driver name="qemu" type="raw" cache="none" io="native"/> - <source file="/var/lib/libvirt/images/@name\.qcow2"/> + <source file="/var/lib/libvirt/images/@name@String::from(".qcow2")"/> @if sata { <target dev="sda" bus="sata"/> } else { |