Update test.sh

This commit is contained in:
2019-03-03 10:10:47 -06:00
parent 7aabd52f7d
commit 3eaaf602d3

View File

@@ -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