aboutsummaryrefslogtreecommitdiff
path: root/scripts/test-configs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-24 05:33:13 -0600
committerCraig Jennings <c@cjennings.net>2026-01-24 05:33:13 -0600
commit94af83c1c8446ef1a564cff8aec5487afa47693e (patch)
tree40ea6ea8de7f796d63805774f678623bc915f028 /scripts/test-configs
parent2689dd341d9fcffe4d791d067244d3b018fb6248 (diff)
downloadarchangel-94af83c1c8446ef1a564cff8aec5487afa47693e.tar.gz
archangel-94af83c1c8446ef1a564cff8aec5487afa47693e.zip
Phase 2.8: Add LUKS encryption for btrfs
- Add LUKS functions to btrfs.sh (create/open/close container) - Add crypttab configuration for boot - Add encrypt hook to mkinitcpio HOOKS - Add cryptdevice parameter to GRUB cmdline - Add get_btrfs_encryption_choice and get_luks_passphrase prompts - Add LUKS_PASSPHRASE to config variables - Update show_summary and print_btrfs_summary for encryption status - Add btrfs-luks.conf test config VM test pending.
Diffstat (limited to 'scripts/test-configs')
-rw-r--r--scripts/test-configs/btrfs-luks.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/test-configs/btrfs-luks.conf b/scripts/test-configs/btrfs-luks.conf
new file mode 100644
index 0000000..5eee46d
--- /dev/null
+++ b/scripts/test-configs/btrfs-luks.conf
@@ -0,0 +1,15 @@
+# Test config: Btrfs single disk with LUKS encryption
+
+HOSTNAME=test-btrfs-luks
+TIMEZONE=UTC
+LOCALE=en_US.UTF-8
+KEYMAP=us
+
+FILESYSTEM=btrfs
+DISKS=/dev/vda
+
+LUKS_PASSPHRASE=testpassphrase
+
+ROOT_PASSWORD=testpass
+
+ENABLE_SSH=yes