Enable serial console on all Azure instances

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-06-16 13:39:07 +01:00
parent 8bd0c4b17d
commit bc5037150a

View File

@@ -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