iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update hosts, fix fai-cd and wrt
[automated-distro-installer]
/
fai
/
config
/
scripts
/
FAIBASE
/
10-misc
diff --git
a/fai/config/scripts/FAIBASE/10-misc
b/fai/config/scripts/FAIBASE/10-misc
index 2df59448f2db1db403237580b54d62e74b96d25e..fbf85c1efeb23e1acce1d1346adc8d64c3369d96 100755
(executable)
--- a/
fai/config/scripts/FAIBASE/10-misc
+++ b/
fai/config/scripts/FAIBASE/10-misc
@@
-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