]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Changing generation of /etc/resolv.conf
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 10 Apr 2019 07:59:19 +0000 (09:59 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 10 Apr 2019 07:59:19 +0000 (09:59 +0200)
bin/postinst
bin/postinst.chrony

index 790ed2038753f6db328a5f3059a0310237515400..8f7bf4bf19cb904b638703bbfd2f6a7e666a5114 100644 (file)
@@ -258,12 +258,14 @@ manage_dns() {
 
     cat <<-EOF >"/etc/resolv.conf"
        search pixelpark.net pixelpark.com
-       nameserver 217.66.52.10
        nameserver 93.188.109.13
+       nameserver 217.66.52.10
        nameserver 212.91.225.75
 
        EOF
 
+    log "New /etc/resolv.conf:\n$(cat /etc/resolv.conf )"
+
 }
 
 #-----------------------------------------------------------
index 11cf56c8c5febcd2522229a15ac5b27951edd682..6b9d60654757215efee3ebbb0f55a8c42ce680be 100644 (file)
@@ -247,12 +247,14 @@ manage_dns() {
 
     cat <<-EOF >"/etc/resolv.conf"
        search pixelpark.net pixelpark.com
-       nameserver 217.66.52.10
        nameserver 93.188.109.13
+       nameserver 217.66.52.10
        nameserver 212.91.225.75
 
        EOF
 
+    log "New /etc/resolv.conf:\n$(cat /etc/resolv.conf )"
+
 }
 
 #-----------------------------------------------------------