aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vm
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2022-09-26 14:29:55 +0200
committerPeter Mikus <peter.mikus@protonmail.ch>2022-09-26 13:01:38 +0000
commit3f16ce1bbca46437c648d75f6a15d23dae0b8fc1 (patch)
tree43031bd70e7b02e86c7bcd50b393db7613c07b10 /resources/templates/vm
parent23944f56ba28e1ec429c9e214a152d743c587c72 (diff)
fix(qemu): VM tests
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I8374ac119dca0640188e6ad874769e5a6aafbff4
Diffstat (limited to 'resources/templates/vm')
-rw-r--r--resources/templates/vm/init.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/templates/vm/init.sh b/resources/templates/vm/init.sh
index 8edb40f411..471b3ccba9 100644
--- a/resources/templates/vm/init.sh
+++ b/resources/templates/vm/init.sh
@@ -1,6 +1,7 @@
#!/bin/bash
mkdir /dev/pts
mkdir /dev/hugepages
+mkdir /dev/shm
mount -t devpts -o "rw,noexec,nosuid,gid=5,mode=0620" devpts /dev/pts || true
mount -t tmpfs -o "rw,noexec,nosuid,size=10%,mode=0755" tmpfs /run
mount -t tmpfs -o "rw,noexec,nosuid,size=10%,mode=0755" tmpfs /tmp