Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-25 22:03:39 -05:00
parent f710907738
commit a6587647aa

View File

@@ -1906,7 +1906,7 @@ SERVICE(){
fi
else
if [ "${3}" != "all" ]; then
if [ "${4}" != "all" ]; then
IP=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
for NTYPE in "${NODE_TYPES[@]}"; do
var=${NTYPE}_HOSTS[@]