From 157ceb9ab106118c1e506edd4a98245a4dad20b4 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 28 Nov 2021 18:01:53 +0100 Subject: [PATCH] new ks for LUKS encryption --- blocks/base-storage-encrypted.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 blocks/base-storage-encrypted.cfg diff --git a/blocks/base-storage-encrypted.cfg b/blocks/base-storage-encrypted.cfg new file mode 100644 index 0000000..3ba2395 --- /dev/null +++ b/blocks/base-storage-encrypted.cfg @@ -0,0 +1,12 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ + +# What ? This kickstart file provides a basic EXT4 layout for EFI-based systems, with full-disk encryption. + +part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi # Will create an efi partitition of 128 MiB (vda1) +part /boot --fstype="ext4" --size=384 --label=boot # Create a boot partition of 384 MiB using the ext4 filesystem (vda2). +part / --fstype="ext4" --grow --label=root --encrypted --luks-version=luks2 # The remaining space will be used for an encrypted root (vda3). \ No newline at end of file