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