Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user