summaryrefslogtreecommitdiffstats
path: root/share/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/config/vm.conf.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/share/config/vm.conf.in b/share/config/vm.conf.in
new file mode 100644
index 0000000..688fb97
--- /dev/null
+++ b/share/config/vm.conf.in
@@ -0,0 +1,39 @@
+# compute-tools: @NAME@
+
+[start]
+cnt.auto=false
+cnt.container-server=
+# FIXME bridge
+cnt.network-bridge=tap-@SHORTNAME@-ma1:bridge-oob
+cnt.overlay=
+cnt.overlay-options=
+bind=
+bind-ro=
+boot=yes
+capability=
+directory=/var/lib/machines/@NAME@
+drop-capability=
+link-journal=no
+machine=@NAME@
+private-users=no
+register=yes
+
+[vm]
+memory=4G
+bios=/usr/share/OVMF/OVMF_CODE.fd
+serial=mon:telnet::@PORT@,server,nowait
+raw-options=-cpu host -smp cores=8,threads=2
+# FIXME: absolut path
+drive=format=raw,file=/var/lib/machines/@NAME@.img,if=ide,index=0
+vm.netdev=tap,id=eno1,ifname=@PRIMARY_TAP@,script=no,downscript=no -device virtio-net-pci,netdev=eno1,addr=1
+#vm.netdev=user,id=slirp -device virtio-net-pci,netdev=slirp,addr=7
+
+[limit]
+BlockIODeviceWeight=
+BlockIOReadBandwidth=
+BlockIOWeight=
+BlockIOWriteBandwidth=
+CPUQuota=
+CPUShares=
+MemoryLimit=
+TasksMax=