Update defaults.inc

This commit is contained in:
2023-11-16 07:57:41 -06:00
parent 162e6c58e0
commit fb0e0ee678

View File

@@ -126,7 +126,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}