From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 3/3] cloud-init: Disable using ISP nameservers Date: Wed, 05 Feb 2020 14:27:08 +0000 Message-ID: <20200205142708.22129-3-michael.tremer@ipfire.org> In-Reply-To: <20200205142708.22129-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3362666860978627386==" List-Id: --===============3362666860978627386== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is mostly aesthetic because there are no ISP nameservers anyways that we could use here. Signed-off-by: Michael Tremer --- src/initscripts/helper/aws-setup | 3 +++ src/initscripts/helper/azure-setup | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/initscripts/helper/aws-setup b/src/initscripts/helper/aws-se= tup index 2c3311fc2..884319822 100644 --- a/src/initscripts/helper/aws-setup +++ b/src/initscripts/helper/aws-setup @@ -214,6 +214,9 @@ import_aws_configuration() { =20 # Actions performed only on the very first start if [ ! -e "/var/ipfire/main/firstsetup_ok" ]; then + # Disable using ISP nameservers + sed -e "s/^USE_ISP_NAMESERVERS=3D.*/USE_ISP_NAMESERVERS=3Doff/" -i /var/ip= fire/dns/settings + # Enable SSH sed -e "s/ENABLE_SSH=3D.*/ENABLE_SSH=3Don/g" -i /var/ipfire/remote/settings =20 diff --git a/src/initscripts/helper/azure-setup b/src/initscripts/helper/azur= e-setup index d84ec3aca..291b8e0a4 100644 --- a/src/initscripts/helper/azure-setup +++ b/src/initscripts/helper/azure-setup @@ -240,6 +240,9 @@ import_azure_configuration() { =20 # Actions performed only on the very first start if [ ! -e "/var/ipfire/main/firstsetup_ok" ]; then + # Disable using ISP nameservers + sed -e "s/^USE_ISP_NAMESERVERS=3D.*/USE_ISP_NAMESERVERS=3Doff/" -i /var/ip= fire/dns/settings + # Enable SSH sed -e "s/ENABLE_SSH=3D.*/ENABLE_SSH=3Don/g" -i /var/ipfire/remote/settings =20 --=20 2.20.1 --===============3362666860978627386==--