Update nodemgmt-scripts.sh

This commit is contained in:
2019-11-24 10:07:57 -06:00
parent 4d14220335
commit b9dc851e68

View File

@@ -1201,6 +1201,7 @@ SERVICE(){
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/nginx/test.repl"
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl"
for nip in "${!NT_HOSTS}"; do
echo "1: $nip"
checkhost=$(CHECK_HOST ${nip})
if [ "${checkhost}" != "false" ]; then
if [ "${nip}" != "${!NT_HOST}" ]; then
@@ -1239,7 +1240,7 @@ SERVICE(){
else
NCMD="ssh root@${nip}"
fi
echo "1: $nip"
echo "2: $nip"
if [ "${3}" != "q" ]; then
echo -en "${NM_SRVCOPTS[${2}]}ing on ${NM_NODETYPES[$NTYPE]}-Node${nid} ($nip)... ${idsCL[Default]}"
fi