From: Michael Tremer Date: Sun, 16 Jun 2019 12:39:07 +0000 (+0100) Subject: Enable serial console on all Azure instances X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=794aba1df3273c291998f8c0f64b923b73ea1d62;p=people%2Fms%2Fipfire-2.x.git Enable serial console on all Azure instances Signed-off-by: Michael Tremer --- 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