From 99f2eb79f36e20ca162a9f0604522791b5a80ec4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 9 Mar 2024 15:40:37 -0600 Subject: [PATCH] Update update-dns.sh --- update-dns.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update-dns.sh b/update-dns.sh index efd2a25..c9aabaa 100755 --- a/update-dns.sh +++ b/update-dns.sh @@ -33,6 +33,7 @@ case "$choice" in * ) if [ -f /etc/netplan/eth0.yaml ] || [ -f /etc/netplan/network.yaml ]; then if [ "${1}" = "offsite" ]; then sed -i 's/10.10.10.10,10.10.10.11/10.2.1.5,10.2.1.6,10.10.10.5/g' ${netfile} + sed -i 's/10.2.1.5,10.10.10.5/10.2.1.5,10.2.1.6,10.10.10.5/g' ${netfile} sed -i 's/127.0.0.1,10.10.10.10/10.2.1.5,10.2.1.6,10.10.10.5/g' ${netfile} else sed -i 's/10.10.10.10,10.10.10.11/10.10.10.10,10.10.10.11,10.2.1.2/g' ${netfile}