From 3ecf4e25cb52ca1ca57c386821f66e6a3b894848 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 18 Jan 2026 11:52:17 -0600 Subject: Add --no-encrypt flag for testing without encryption Allows CI/CD testing without ZFS encryption passphrase prompts: - --no-encrypt flag on command line - NO_ENCRYPT=yes in config file - Skips passphrase prompt in interactive mode - Creates pool without encryption options This enables fully automated VM testing without needing to enter passphrase at boot time. --- custom/install-archzfs.conf.example | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'custom/install-archzfs.conf.example') diff --git a/custom/install-archzfs.conf.example b/custom/install-archzfs.conf.example index e97fe68..813b359 100644 --- a/custom/install-archzfs.conf.example +++ b/custom/install-archzfs.conf.example @@ -3,7 +3,8 @@ # Copy this file to /root/install-archzfs.conf and edit values. # Or use: install-archzfs --config-file /path/to/your-config.conf # -# Required fields: HOSTNAME, TIMEZONE, DISKS, ZFS_PASSPHRASE, ROOT_PASSWORD +# Required fields: HOSTNAME, TIMEZONE, DISKS, ROOT_PASSWORD +# Plus either ZFS_PASSPHRASE or NO_ENCRYPT=yes # All other fields have sensible defaults. ############################# @@ -42,10 +43,14 @@ RAID_LEVEL= # Security ############################# -# ZFS encryption passphrase (required) +# ZFS encryption passphrase (required unless NO_ENCRYPT=yes) # This will be required at every boot to unlock the pool ZFS_PASSPHRASE=changeme +# Disable ZFS encryption (optional, for testing only) +# Set to "yes" to skip encryption - NOT recommended for real installs +#NO_ENCRYPT=no + # Root password (required) ROOT_PASSWORD=changeme -- cgit v1.2.3