Update test.sh
This commit is contained in:
5
test.sh
5
test.sh
@@ -19,6 +19,7 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
nip=10.5.10.666
|
||||||
|
|
||||||
echo ${NODE_HOSTS[0]}
|
rm -f /etc/haproxy.cfg
|
||||||
echo ${WEB_HOSTS[0]}
|
sed -e "s;%NIP%;${nip};g" ${FOLDER}/templates/haproxy.config > /etc/haproxy.cfg
|
||||||
|
|||||||
Reference in New Issue
Block a user