diff --git a/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent b/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent index f2b1edfe..54ba12fc 100755 --- a/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent +++ b/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent @@ -48,6 +48,11 @@ fi textconsole=$(grep ^textconsole: /tmp/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%,*} sed -e s'/$/ 'console=${autocons#*/dev/}/ /proc/cmdline > /etc/fakecmdline mount -o bind /etc/fakecmdline /proc/cmdline echo "ConsoleDevice: ${autocons%,*}" >> /etc/linuxrc.d/01-confluent diff --git a/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/hooks/casper-bottom.sh b/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/hooks/casper-bottom.sh index a33ed08f..93b2a338 100755 --- a/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/hooks/casper-bottom.sh +++ b/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/hooks/casper-bottom.sh @@ -60,6 +60,7 @@ if [ -f /custom-installation/autocons.info ]; then fi if [ ! -z "$cons" ]; then echo "Installation will proceed on graphics console, autoconsole not supported during autoinstall phase" > ${cons%,*} + echo "Progress can be checked by using ssh to access and running the screendump command" > ${cons%,*} #fcmdline="$fcmdline console=${cons#/dev/}" fi echo $fcmdline > /custom-installation/confluent/fakecmdline