Update nodemgmt-scripts.sh

This commit is contained in:
2022-10-14 23:09:07 -05:00
parent ee51ace1fb
commit 6a1fa24f84

View File

@@ -1420,8 +1420,9 @@ SERVICE(){
#$NCMD mount -a
if [ "${3}" != "q" ]; then
IP=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
echo "IP $IP"
for NTYPE in "${NODE_TYPES[@]}"; do
echo "Node type: ${NODE_TYPE}"
echo "Node type: ${NTYPE}"
done
echo "Node type: ${NODE_TYPE}"