From 48c85849e66d986d9df0b8ffff80b044223a85ca Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 12 Dec 2023 11:31:05 -0500 Subject: [PATCH] initramfs: Move our dracut config later Our hostonly setting was conflicting with the default `hostonly=yes` in `01-dist.conf`. --- tier-0/initramfs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tier-0/initramfs.yaml b/tier-0/initramfs.yaml index 4c591e1..08127a5 100644 --- a/tier-0/initramfs.yaml +++ b/tier-0/initramfs.yaml @@ -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