aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-06-28 00:08:47 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-06-28 00:08:47 +0300
commit7dbec7b15eec608773f2923a9ed0b539f598e6c1 (patch)
treecd3c86122609d4f2aa63e1c576729a3987fc71d1 /templates
parentb0730ad31c13f573feb9bd527167ce78700a7209 (diff)
Add fstab, clean tmp and var
Diffstat (limited to 'templates')
-rw-r--r--templates/etc_fstab.j27
-rw-r--r--templates/etc_rc.conf.j22
2 files changed, 9 insertions, 0 deletions
diff --git a/templates/etc_fstab.j2 b/templates/etc_fstab.j2
new file mode 100644
index 0000000..7b42a69
--- /dev/null
+++ b/templates/etc_fstab.j2
@@ -0,0 +1,7 @@
+# Device Mountpoint FStype Options Dump Pass#
+/dev/gpt/efiboot0 /boot/efi msdosfs rw 2 2
+/dev/nda0p3.eli none swap sw 0 0
+/dev/nda1p3.eli none swap sw 0 0
+/dev/nda2p3.eli none swap sw 0 0
+/dev/nda3p3.eli none swap sw 0 0
+tmpfs /tmp tmpfs rw,mode=777,size=2g 0 0
diff --git a/templates/etc_rc.conf.j2 b/templates/etc_rc.conf.j2
index c7e7b83..4b5d739 100644
--- a/templates/etc_rc.conf.j2
+++ b/templates/etc_rc.conf.j2
@@ -23,3 +23,5 @@ syslogd_flags="-s"
jail_enable="YES"
jail_parallel_start="YES"
nginx_enable="YES"
+clear_tmp_enable="YES"
+cleanvar_enable="YES"