Update test.sh

This commit is contained in:
2019-03-26 20:37:55 -05:00
parent 2282501077
commit c583e692c7

10
test.sh
View File

@@ -20,9 +20,9 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot
fi
nodemgmt update
# nodemgmt update
nip=10.5.10.666
rm -f /etc/haproxy/haproxy.cfg
sed -e "s;%NIP%;${nip};g" ${FOLDER}/templates/haproxy.config > /etc/haproxy/haproxy.cfg
var=${NTYPE}_HOSTS
for nip in "${!var[@]}"; do
echo ": ${nip}"
done