aboutsummaryrefslogtreecommitdiff
path: root/custom/install-archzfs.conf.example
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-18 11:52:17 -0600
committerCraig Jennings <c@cjennings.net>2026-01-18 11:52:17 -0600
commit3ecf4e25cb52ca1ca57c386821f66e6a3b894848 (patch)
treea7ddf305756ae9894fe4709daf8a27aab305e321 /custom/install-archzfs.conf.example
parent8582da238ecb63985ff808c61e5a9add4576d516 (diff)
downloadarchangel-3ecf4e25cb52ca1ca57c386821f66e6a3b894848.tar.gz
archangel-3ecf4e25cb52ca1ca57c386821f66e6a3b894848.zip
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.
Diffstat (limited to 'custom/install-archzfs.conf.example')
-rw-r--r--custom/install-archzfs.conf.example9
1 files changed, 7 insertions, 2 deletions
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