aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@gmail.com>2024-01-02 17:38:55 +0000
committerMark Johnston <markj@FreeBSD.org>2024-01-09 00:59:11 +0000
commit3aa8b74da97c439c9fe71c31a2aff59825e10e2b (patch)
tree19f5e53e3569d37d6cf0c7895dff615590f49c39
parent4cbf6ad75e3e2232018aee73d2b7bb0b8f48658b (diff)
downloadsrc-3aa8b74da97c439c9fe71c31a2aff59825e10e2b.tar.gz
src-3aa8b74da97c439c9fe71c31a2aff59825e10e2b.zip
release: Add missing /var/crash ZFS dataset
This matches the layout from bsdinstall. MFC after: 1 week Fixes: 89585511cc05 ("release: Add support for creating ZFS-based VM images") Pull Request: https://github.com/freebsd/freebsd-src/pull/981 (cherry picked from commit adc215de9cabadb89eb4a1c99e047906eacaa58a)
-rw-r--r--release/tools/vmimage.subr1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index f8b132875cdc..6eaf17b07948 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -200,6 +200,7 @@ buildfs() {
-o fs=zroot/usr/obj \
-o fs=zroot/var\;mountpoint=/var\;canmount=off \
-o fs=zroot/var/audit\;setuid=off\;exec=off \
+ -o fs=zroot/var/crash\;setuid=off\;exec=off \
-o fs=zroot/var/log\;setuid=off\;exec=off \
-o fs=zroot/var/mail\;atime=on \
-o fs=zroot/var/tmp\;setuid=off \