aboutsummaryrefslogtreecommitdiff
path: root/templates/vm.rs.xml
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-06-10 14:29:48 -0400
committerCara Salter <cara@devcara.com>2022-06-10 14:29:48 -0400
commitccf03a25db6c31cf8d8f3b54348004c1ee933f3e (patch)
tree14a3d5abade84bc2e41eae81425b28dd9a1b6dca /templates/vm.rs.xml
parent26940cde1e363a5454ef0f06381c85afdd1c85d3 (diff)
downloadsolarlib-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.xml4
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 {