From 4e460abcde435189e0aa71854b307e158d366089 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:32:54 -0700 Subject: [PATCH] Update setup.sh - add additional warning to enable ZFS when adding ZPOOL --- usr/local/share/bastille/setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/local/share/bastille/setup.sh b/usr/local/share/bastille/setup.sh index 15efd351..f098e532 100644 --- a/usr/local/share/bastille/setup.sh +++ b/usr/local/share/bastille/setup.sh @@ -125,7 +125,8 @@ configure_zfs() { bastille_zroot=$(zpool list | grep -v NAME | awk '{print $1}') if [ $(echo "${bastille_zroot}" | wc -l) -gt 1 ]; then error_notify "Error: Multiple zfs pools available:\n"${bastille_zroot}"" - error_exit "Set desired pool using \"sysrc -f "${bastille_config}" bastille_zfs_zpool=ZPOOL_NAME\"" + error_notify "Set desired pool using \"sysrc -f "${bastille_config}" bastille_zfs_zpool=ZPOOL_NAME\"" + error_exit "Don't forget to also enable ZFS using \"sysrc -f "${bastille_config}" bastille_zfs_enable=YES\"" fi sysrc -f "${bastille_config}" bastille_zfs_enable=YES sysrc -f "${bastille_config}" bastille_zfs_zpool="${bastille_zroot}"