aws: Enable serial console by default
Commit Message
AWS for some time now has a serial console feature which is enabled by
default on all systems. The VGA console is not enabled for any new
non-x86 instance types and not interactive.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
src/initscripts/system/partresize | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
@@ -45,8 +45,9 @@ case "${1}" in
esac
fi
- # Enable the serial console on all systems on Azure and Google Compute Platform
- if running_on_azure || running_on_gcp; then
+ # Enable the serial console on all systems on AWS EC2, Azure
+ # and Google Compute Platform
+ if running_on_ec2 || running_on_azure || running_on_gcp; then
scon="on"
fi