diff --git a/test.sh b/test.sh index 21f385e..ebc77d2 100755 --- a/test.sh +++ b/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 \ No newline at end of file