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
|
||||
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user