Update nodemgmt-scripts.sh
This commit is contained in:
@@ -333,6 +333,7 @@ NODEUPDATES() {
|
||||
if [[ ${RUN_NODE_IP} == *"${nip}"* ]]; then
|
||||
nip='localhost '
|
||||
fi
|
||||
echo "HERE: ${nip}"
|
||||
NODEUPDATE "${nip}" "${2}" "${NMCMD}" &
|
||||
((ncount++))
|
||||
fi
|
||||
@@ -344,7 +345,7 @@ NODEUPDATES() {
|
||||
for nodecmd in /tmp/.nodeupdate.*.done; do
|
||||
if [[ "${nodecmd}" != *"*"* ]]; then
|
||||
nodecmd_output=$(cat ${nodecmd})
|
||||
[ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
|
||||
#[ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
|
||||
#rm -f ${nodecmd}
|
||||
((nc_count++))
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user