public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] aws: Enable serial console by default
@ 2021-07-13 10:11 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2021-07-13 10:11 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

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(a)ipfire.org>
---
 src/initscripts/system/partresize | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/initscripts/system/partresize b/src/initscripts/system/partresize
index 20044b083..4fa1906d0 100644
--- a/src/initscripts/system/partresize
+++ b/src/initscripts/system/partresize
@@ -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
 
-- 
2.20.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-13 10:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 10:11 [PATCH] aws: Enable serial console by default Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox