tier-1: Enable dracut crypt module too

We want to support LUKS encrypted root filesystems in general.
We're shipping the code in the root, so we might as well enable
it in the initramfs.
This commit is contained in:
Colin Walters 2024-02-05 08:40:08 -05:00
parent 81f18f50c8
commit d858a847a3
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@ postprocess:
#!/usr/bin/env bash
mkdir -p /usr/lib/dracut/dracut.conf.d
cat > /usr/lib/dracut/dracut.conf.d/30-bootc-tier-1.conf << 'EOF'
dracutmodules+=" lvm "
dracutmodules+=" lvm crypt "
EOF