]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/helper/azure-setup
cloud-init: Disable using ISP nameservers
[people/pmueller/ipfire-2.x.git] / src / initscripts / helper / azure-setup
index d84ec3acaaf022a03a2b321e4cedb7db42e610e1..291b8e0a4d9f31853c1fd5906ac400677adee2c9 100644 (file)
@@ -240,6 +240,9 @@ import_azure_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