diff options
author | Cara Salter <cara@devcara.com> | 2022-06-10 14:29:48 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-06-10 14:29:48 -0400 |
commit | ccf03a25db6c31cf8d8f3b54348004c1ee933f3e (patch) | |
tree | 14a3d5abade84bc2e41eae81425b28dd9a1b6dca /templates/vm.rs.xml | |
parent | 26940cde1e363a5454ef0f06381c85afdd1c85d3 (diff) | |
download | solarlib-ccf03a25db6c31cf8d8f3b54348004c1ee933f3e.tar.gz solarlib-ccf03a25db6c31cf8d8f3b54348004c1ee933f3e.zip |
planet: Fix template for VMs
Still to-do: Automatically add the installation `Ship` to the VM
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 { |