This commit is contained in:
2025-08-19 20:07:37 -05:00
parent 0f31adc330
commit 52ea190b69
2 changed files with 2 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ else
var=${NTYPE}_HOSTS[@]
RUN_NODE_TYPE=""
for nip in "${!var}"; do
echo "${NTYPE} - $nip - ${RNIP} - ${RUN_NODE_TSIP}"
# echo "${NTYPE} - $nip - ${RNIP} - ${RUN_NODE_TSIP}"
if [[ "${RNIP}" == *"${nip}"* ]]; then
RUN_NODE_TYPE=${NTYPE};
RUN_NODE_IP=${RNIP}
@@ -159,7 +159,7 @@ else
# fi
done
fi
echo "HERE1: RUN_NODE_TYPE=$RUN_NODE_TYPE RUN_NODE_IP=$RUN_NODE_IP RUN_NODE_TSIP=$RUN_NODE_TSIP (RNIP=$RNIP TSI=$TSI)"
# echo "HERE1: RUN_NODE_TYPE=$RUN_NODE_TYPE RUN_NODE_IP=$RUN_NODE_IP RUN_NODE_TSIP=$RUN_NODE_TSIP (RNIP=$RNIP TSI=$TSI)"
[ "${NM_REPL_NGINX_PATHS}" != "" ] && [ "${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}" != "" ] && NM_NGINXPATH=${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]} || NM_NGINXPATH=/etc/nginx