From 31d2ee79c0bdad737f674ab6337f1f38be005515 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 3 Dec 2022 12:27:50 -0500 Subject: [PATCH] Update debian-v4.sh --- ct/debian-v4.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ct/debian-v4.sh b/ct/debian-v4.sh index 26fd51ee..6d2a4fd2 100644 --- a/ct/debian-v4.sh +++ b/ct/debian-v4.sh @@ -187,6 +187,7 @@ function advanced_settings() { GATE1="Default" GATE="" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" else + NS=$GATE GATE=",gw=$GATE1" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}" fi @@ -258,7 +259,7 @@ export PCT_OPTIONS=" -features $FEATURES -hostname $HN -searchdomain=$HN - -nameserver=$GATE + -nameserver=$NS -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -onboot 1 -cores $CORE_COUNT