upstream 00f2ea2b8 as of 2018-09-02
[automated-distro-installer] / fai / config / scripts / FAIBASE / 10-misc
index 2df59448f2db1db403237580b54d62e74b96d25e..fbf85c1efeb23e1acce1d1346adc8d64c3369d96 100755 (executable)
@@ -28,6 +28,8 @@ chown -c root:root $target/root
 # copy default dotfiles for root account
 fcopy -ir /root
 
+# use tmpfs for /tmp
+ainsl /etc/fstab "tmpfs     /tmp tmpfs     nodev,nosuid,size=50%,mode=1777   0    0"
 chmod -c 1777 ${target}/tmp
 chown -c 0:0  ${target}/tmp