summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Spöhel <simon@spoehel.ch>2021-04-23 11:57:17 +0000
committerSakirnth Nagarasa <sakirnth@gmail.com>2021-09-01 08:25:43 +0000
commit176d6ee468d24ac165785ebecb544f8cc1d81bfd (patch)
treeb2fa8c8a7dc645bccb9b6ed3e9ad452022f5ba97
parentAdding remove-qemu command. (diff)
downloadcompute-tools-176d6ee468d24ac165785ebecb544f8cc1d81bfd.tar.xz
compute-tools-176d6ee468d24ac165785ebecb544f8cc1d81bfd.zip
config-template fixup.
-rw-r--r--share/config/vm-veos-leaf.conf.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/share/config/vm-veos-leaf.conf.in b/share/config/vm-veos-leaf.conf.in
index 8f650b8..3bc244a 100644
--- a/share/config/vm-veos-leaf.conf.in
+++ b/share/config/vm-veos-leaf.conf.in
@@ -19,16 +19,13 @@ private-users=no
register=yes
[vm]
-#ID=21
-#SHORTNAME=s1
memory=2G
bios=
-# FIXME, WARNING: requires sourcing the config!
-serial=mon:telnet::$((20000+@ID@)),server,nowait
+serial=mon:telnet::@PORT@,server,nowait
raw-options=-usb -boot d -nographic
# FIXME: absolut path
drive=file=/srv/qemu/Aboot-veos-serial-8.0.0.iso,index=2,media=cdrom
-drive=file=/srv/qemu/@NAME@.vmdk,index=0,media=disk,if=ide
+drive=file=/var/lib/machines/@NAME@.vmdk,index=0,media=disk,if=ide
device=pci-bridge,id=pci_bridge1,bus=pci.0,chassis_nr=1
device=pci-bridge,id=pci_bridge2,bus=pci.0,chassis_nr=2
device=pci-bridge,id=pci_bridge3,bus=pci.0,chassis_nr=3