From 9cd73eb159d8e7d99b1678cf2e357f357973b4a5 Mon Sep 17 00:00:00 2001 From: German Maglione Date: Wed, 29 Nov 2023 14:18:13 +0100 Subject: [PATCH] Fix cat redirection Just a small fix, adding a missing redirection so that '01-bootc-nohostonly.conf' is not created empty. Since dracut's default is 'hostonly=no' this fix has no impact on the initramfs contents. Signed-off-by: German Maglione --- tier-0/initramfs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tier-0/initramfs.yaml b/tier-0/initramfs.yaml index f0529ad..4c591e1 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 + cat > /usr/lib/dracut/dracut.conf.d/01-bootc-nohostonly.conf << 'EOF' # We want a generic image; hostonly makes no sense as part of a server side build hostonly=no EOF