From e9ac43f49e846451a12cb5d8caa8d0cd8986c3f5 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 9 Jun 2022 07:55:42 -0400 Subject: [PATCH] Add autocons to bootloader config In newer suse, the fake cmdline trick is fouled, so carry into autoyast file --- .../suse15/initramfs/opt/confluent/bin/suseagent | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent b/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent index 5bf663c8..37ca9168 100755 --- a/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent +++ b/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent @@ -119,6 +119,9 @@ proto=$(grep ^protocol: /etc/confluent/confluent.deploycfg) proto=${proto#protocol: } append=$(grep ^installedargs: /tmp/profile.yaml | sed -e 's/^installedargs: //' -e 's/#.*//') +if grep console= /etc/fakecmdline > /dev/null && [[ "$append" != *console=* ]]; then + append="$append console=${autocons#*/dev/}" +fi if [ -z "$append" ]; then echo "" > /tmp/bootloader.xml else