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