aboutsummaryrefslogtreecommitdiff
path: root/scripts/os/freebsd/20-zfs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/os/freebsd/20-zfs')
-rw-r--r--scripts/os/freebsd/20-zfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/os/freebsd/20-zfs b/scripts/os/freebsd/20-zfs
index aa37c0a..1cdc465 100644
--- a/scripts/os/freebsd/20-zfs
+++ b/scripts/os/freebsd/20-zfs
@@ -3,7 +3,7 @@
# Every host should have a "state" dataset, which is a ZFS dataset which
# persists across OS rebuilds.
[ -n "${state_dataset:-}" ] || die 'state_dataset not defined!'
-create_dataset "$state_dataset"
+create_dataset -o mountpoint=none "$state_dataset"
# If this is baremetal host or a VM, trim the zpools periodically.
if [ "$BOXCONF_VIRTUALIZATION_TYPE" != jail ]; then