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.
8 lines
240 B
YAML
8 lines
240 B
YAML
# Configuration for the "tier-1" initramfs
|
|
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 crypt "
|
|
EOF
|