aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-18 18:53:47 -0600
committerCraig Jennings <c@cjennings.net>2026-01-18 18:53:47 -0600
commit031c6102f42184d8b6614695760fd11249b1c5f2 (patch)
tree28580a48617253afc954663f1cef71f8cbd19142 /scripts
parent3884ae1ef9bfcb5fbd02535d2d69e2d7cacfa4e0 (diff)
downloadarchangel-031c6102f42184d8b6614695760fd11249b1c5f2.tar.gz
archangel-031c6102f42184d8b6614695760fd11249b1c5f2.zip
Make ZFS encryption optional with interactive prompt
Add get_encryption_choice() to ask user whether to enable encryption during interactive install. Remove --no-encrypt CLI flag in favor of config file NO_ENCRYPT option for unattended installs. Update tests to rely on config file setting instead of flag. Also: fix ISO label to ARCHZFS for stable GRUB entries, add TODO items.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-install.sh b/scripts/test-install.sh
index 2f9c62d..fa5c431 100755
--- a/scripts/test-install.sh
+++ b/scripts/test-install.sh
@@ -232,8 +232,8 @@ run_install() {
sshpass -p "$SSH_PASSWORD" scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
-P "$SSH_PORT" "$config" root@localhost:/root/test.conf 2>/dev/null
- # Run the installer
- ssh_cmd "install-archzfs --config-file /root/test.conf --no-encrypt" || return 1
+ # Run the installer (NO_ENCRYPT is set in the config file, not via flag)
+ ssh_cmd "install-archzfs --config-file /root/test.conf" || return 1
return 0
}