initramfs: Move our dracut config later
Our hostonly setting was conflicting with the default `hostonly=yes` in `01-dist.conf`.
This commit is contained in:
parent
ca31675a74
commit
48c85849e6
|
|
@ -3,7 +3,7 @@ postprocess:
|
|||
- |
|
||||
#!/usr/bin/env bash
|
||||
mkdir -p /usr/lib/dracut/dracut.conf.d
|
||||
cat > /usr/lib/dracut/dracut.conf.d/01-bootc-nohostonly.conf << 'EOF'
|
||||
cat > /usr/lib/dracut/dracut.conf.d/20-bootc-nohostonly.conf << 'EOF'
|
||||
# We want a generic image; hostonly makes no sense as part of a server side build
|
||||
hostonly=no
|
||||
EOF
|
||||
|
|
@ -11,6 +11,6 @@ postprocess:
|
|||
# We want this for systemd-cryptsetup tpm2 locking
|
||||
dracutmodules+=" tpm2-tss "
|
||||
EOF
|
||||
cat > /usr/lib/dracut/dracut.conf.d/01-centos-bootc-base.conf << 'EOF'
|
||||
cat > /usr/lib/dracut/dracut.conf.d/20-centos-bootc-base.conf << 'EOF'
|
||||
dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base "
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Reference in New Issue