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
commitc55ce46084635c188abb4516ba6ee6eee38dd11d (patch)
tree638c4f4ceb62d33766908cf8600b3aca2ecef435 /scripts/test-configs
parente1af2bdaad875dab8661fce03dc6b5adb503d0ff (diff)
downloadarchangel-c55ce46084635c188abb4516ba6ee6eee38dd11d.tar.gz
archangel-c55ce46084635c188abb4516ba6ee6eee38dd11d.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