summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2022-02-25 11:43:54 +0100
committerDrew DeVault <sir@cmpwn.com>2022-03-23 11:59:53 +0100
commitc85d065735cf383f47fa7ae8f115e69acc13571a (patch)
tree37f999663e2238bfed3f536c89fa12e56ad3cf30
parent5c3c4b5a849128310489f9316efa64aac33b32f6 (diff)
downloadalpine-conf-c85d065735cf383f47fa7ae8f115e69acc13571a.zip
setup-disk: add tmpfs to /etc/fstab
It is more common than not to prefer tmpfs for an Alpine installation.
-rw-r--r--setup-disk.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup-disk.in b/setup-disk.in
index f8c1e42..27d23c3 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -586,6 +586,7 @@ install_mounted_root() {
cat >>"$mnt"/etc/fstab <<-__EOF__
/dev/cdrom /media/cdrom iso9660 noauto,ro 0 0
/dev/usbdisk /media/usb vfat noauto 0 0
+ tmpfs /tmp tmpfs nosuid,nodev 0 0
__EOF__
if crypt_required <"$mnt"/etc/fstab; then