From bc5037150a6fb69d1f117235f37c2f42860e1b6b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 16 Jun 2019 13:39:07 +0100 Subject: [PATCH] Enable serial console on all Azure instances Signed-off-by: Michael Tremer --- src/initscripts/system/partresize | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/initscripts/system/partresize b/src/initscripts/system/partresize index e2df11ee01..0c2866c0b9 100644 --- a/src/initscripts/system/partresize +++ b/src/initscripts/system/partresize @@ -41,6 +41,11 @@ case "${1}" in ;; esac + # Enable the serial console on all systems on Azure + if running_on_azure; then + scon="on" + fi + mount /boot > /dev/null if [ -e /boot/grub/grub.cfg ]; then # swtich permanent to serial console if it was selected on first boot -- 2.39.2