From 8550b76e23540be096ea67aac22bf233f4c25103 Mon Sep 17 00:00:00 2001 From: bcambl Date: Sun, 24 Jul 2016 22:42:06 -0600 Subject: [PATCH] add gateway to interface configuration --- automated install/basic-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 29e3237f..55206faf 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -359,6 +359,7 @@ setStaticIPv4() { $SUDO echo "ONBOOT=yes" >> $IFCFG_FILE $SUDO echo "IPADDR=$IPADDR" >> $IFCFG_FILE $SUDO echo "PREFIX=$CIDR" >> $IFCFG_FILE + $SUDO echo "GATEWAY=$IPv4gw" >> $IFCFG_FILE $SUDO echo "USERCTL=no" >> $IFCFG_FILE $SUDO ip addr replace dev "$piholeInterface" "$IPv4addr" if [ -x "$(command -v nmcli)" ];then