]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/helper/aws-setup
cloud-init: Disable using ISP nameservers
[people/pmueller/ipfire-2.x.git] / src / initscripts / helper / aws-setup
index 2c3311fc24ba44e0b44fddc3484a4100d25a99c5..8843198221df07be6f74ab9343cadcc621007a04 100644 (file)
@@ -214,6 +214,9 @@ import_aws_configuration() {
 
        # 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=.*/USE_ISP_NAMESERVERS=off/" -i /var/ipfire/dns/settings
+
                # Enable SSH
                sed -e "s/ENABLE_SSH=.*/ENABLE_SSH=on/g" -i /var/ipfire/remote/settings