aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vm/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vm/init.sh')
-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