From patchwork Tue Jul 13 10:11:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 4512 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4GPGd93vQXz3xCm for ; Tue, 13 Jul 2021 10:11:41 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4GPGd71XWkz1Kv; Tue, 13 Jul 2021 10:11:39 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4GPGd63kxYz2yNY; Tue, 13 Jul 2021 10:11:38 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4GPGd44jN5z2xZN for ; Tue, 13 Jul 2021 10:11:36 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4GPGd4170ZzpC; Tue, 13 Jul 2021 10:11:36 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1626171096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=l902dpfULc8YVE+ZTbyB6P82Xo8STqFvRravjN809a4=; b=4rS6mujweyrXFIXzpHUf9bDoPiFY2jXWA7SRd3g/xxfEJ4qlN6sLW4VBh8yGZNTFINqnFT 5yEWHEsEzSrz3yAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1626171096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=l902dpfULc8YVE+ZTbyB6P82Xo8STqFvRravjN809a4=; b=JJAN/pwKz9PmjBWP6ogtLNpyKbOyIv6IbfQwzGqR81V9NsY3tnyRYNP/EXgQ18CZXi4XvF sDw3q7sLfaLF/Lo+ZSBUoCmbhBeMUJ9BtCxQgQzcVMV1TzuZtqc0nA+71xSVHBnJvofZvn GXCDfhllVz40Un6LhuBV1GYoVzx9qEKVGI+oL2iym3jmZzcPuVOYv0ZnJQBhQaiP6nk+o7 57MojNKet7gahqnvDhGzATxMleaI5ueByev/IAdP180hb8ifVyLgYqqC7yiSqtvk8LwkLi be4PCGGF2b2/jp29Hi8qrHu/bbUO+Co5Xf48UwD9XONb5L8ZlASj8yGxTKjrCw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] aws: Enable serial console by default Date: Tue, 13 Jul 2021 10:11:31 +0000 Message-Id: <20210713101131.6021-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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 --- 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