From 4508cfa36400029e9928e4c2c0d472df66241d01 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 16 Oct 2020 09:04:14 -0400 Subject: [PATCH] Update suse15 message with fixed autocons --- .../suse15/initramfs/opt/confluent/bin/suseagent | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent b/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent index d2514894..0c183822 100755 --- a/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent +++ b/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent @@ -60,11 +60,15 @@ fi textconsole=$(grep ^textconsole: /etc/confluent/confluent.deploycfg) textconsole=${textconsole#textconsole: } if [ "$textconsole" = "true" ] && ! grep console= /proc/cmdline > /dev/null && [ ! -z "$autocons" ]; then - echo "Serial console autodetected and enabled, will be available upon install completion" > ${autocons%,*} - echo "The installer will run in text mode on the graphics console. When ssh is available," > ${autocons%,*} - echo "install progress may be checked by using ssh to access and run the screendump command" > ${autocons%,*} - echo "Install time serial console would require the profile to have console=${autocons#/dev/}" > ${autocons%,*} - echo "specified in the kernel command line arguments" > ${autocons%,*} + echo "Serial console has been autodected and enabled read-only for install" > ${autocons%,*} + echo "It will be read-write after install" > ${autocons%,*} + echo "If a fully functional console is desired over serial, add console=${autocons#/dev/} " > ${autocons%,*} + echo "to kerneralgs in the profile.yaml file of the profile and run 'osdeploy updateboot " > ${autocons%,*} + #echo "Serial console autodetected and enabled, will be available upon install completion" > ${autocons%,*} + #echo "The installer will run in text mode on the graphics console. When ssh is available," > ${autocons%,*} + #echo "install progress may be checked by using ssh to access and run the screendump command" > ${autocons%,*} + #echo "Install time serial console would require the profile to have console=${autocons#/dev/}" > ${autocons%,*} + #echo "specified in the kernel command line arguments" > ${autocons%,*} echo ${autocons%,*} > /tmp/autoconsdev sed -e s'/$/ 'console=${autocons#*/dev/}/ /proc/cmdline > /etc/fakecmdline mount -o bind /etc/fakecmdline /proc/cmdline