]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
aws: Enable serial console by default
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 13 Jul 2021 10:11:31 +0000 (10:11 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 14 Jul 2021 08:24:30 +0000 (08:24 +0000)
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>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/system/partresize

index 20044b08302c6c9530e9ebbb0ea7cca9fd59f7d1..4fa1906d0ada8eb7640121b18771dbf97c1ef50e 100644 (file)
@@ -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