aboutsummaryrefslogtreecommitdiffstats
path: root/packer/provision/basebuild.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <dl9pf@gmx.de>2016-09-24 14:59:09 +0200
committerJan-Simon Möller <dl9pf@gmx.de>2016-09-24 14:59:09 +0200
commite18abb183f060b18dc4b9359b7c4be86603fcf77 (patch)
tree871e9a288569bc3336aaa6b55ebfc7143aba7233 /packer/provision/basebuild.sh
parentfeaf241a3565a53460c0bac95f91484130fbf453 (diff)
The addition to /etc/fstab must be in the provision stage
Change-Id: I1bb0a45dab7bb38b8b79361a36941e420951d136 Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>
Diffstat (limited to 'packer/provision/basebuild.sh')
-rw-r--r--packer/provision/basebuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh
index 01445ff6..cf2aab66 100644
--- a/packer/provision/basebuild.sh
+++ b/packer/provision/basebuild.sh
@@ -2,3 +2,10 @@
# vim: set tw=4 sw=4 sts=4 et :
# Presently nothing to do
+
+cat <<EOFSTAB >> /etc/fstab
+
+# tmp should be tmpfs so gcc tmpfiles do not hit the disk
+none /tmp tmpfs defaults 0 0
+
+EOFSTAB