Update nodemgmt-scripts.sh

This commit is contained in:
2024-03-09 12:16:29 -06:00
parent 379b539120
commit 60f57580a2

View File

@@ -333,6 +333,7 @@ NODEUPDATES() {
if [[ ${RUN_NODE_IP} == *"${nip}"* ]]; then if [[ ${RUN_NODE_IP} == *"${nip}"* ]]; then
nip='localhost ' nip='localhost '
fi fi
echo "HERE: ${nip}"
NODEUPDATE "${nip}" "${2}" "${NMCMD}" & NODEUPDATE "${nip}" "${2}" "${NMCMD}" &
((ncount++)) ((ncount++))
fi fi
@@ -344,7 +345,7 @@ NODEUPDATES() {
for nodecmd in /tmp/.nodeupdate.*.done; do for nodecmd in /tmp/.nodeupdate.*.done; do
if [[ "${nodecmd}" != *"*"* ]]; then if [[ "${nodecmd}" != *"*"* ]]; then
nodecmd_output=$(cat ${nodecmd}) nodecmd_output=$(cat ${nodecmd})
[ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}" #[ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
#rm -f ${nodecmd} #rm -f ${nodecmd}
((nc_count++)) ((nc_count++))
fi fi