From 465d157a194528f2052ba7b22c0042750cd7aa73 Mon Sep 17 00:00:00 2001 From: h-town <29696865+h-town@users.noreply.github.com> Date: Fri, 3 Jan 2020 10:56:28 -0600 Subject: [PATCH] Revise route query for IP & GW selection from Quad9 to TEST-NET-1 --- auto_install/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 247016a..047b4e0 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -57,8 +57,8 @@ r=$(( r < 20 ? 20 : r )) c=$(( c < 70 ? 70 : c )) # Find IP used to route to outside world -IPv4addr=$(ip route get 9.9.9.9 | awk '{print $7}') -IPv4gw=$(ip route get 9.9.9.9 | awk '{print $3}') +IPv4addr=$(ip route get 192.0.2.1 | awk '{print $7}') +IPv4gw=$(ip route get 192.0.2.2 | awk '{print $3}') availableInterfaces=$(ip -o link | grep "state UP" | awk '{print $2}' | cut -d':' -f1 | cut -d'@' -f1) dhcpcdFile=/etc/dhcpcd.conf