From 3eaaf602d30b6f5a756a5b4082ed4be9c6869260 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Mar 2019 10:10:47 -0600 Subject: [PATCH] Update test.sh --- test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index d2cec8a..3fa6e4d 100755 --- a/test.sh +++ b/test.sh @@ -19,6 +19,7 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot exit 0 fi +nip=10.5.10.666 -echo ${NODE_HOSTS[0]} -echo ${WEB_HOSTS[0]} +rm -f /etc/haproxy.cfg +sed -e "s;%NIP%;${nip};g" ${FOLDER}/templates/haproxy.config > /etc/haproxy.cfg