Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1420,8 +1420,9 @@ SERVICE(){
|
|||||||
#$NCMD mount -a
|
#$NCMD mount -a
|
||||||
if [ "${3}" != "q" ]; then
|
if [ "${3}" != "q" ]; then
|
||||||
IP=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
IP=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
||||||
|
echo "IP $IP"
|
||||||
for NTYPE in "${NODE_TYPES[@]}"; do
|
for NTYPE in "${NODE_TYPES[@]}"; do
|
||||||
echo "Node type: ${NODE_TYPE}"
|
echo "Node type: ${NTYPE}"
|
||||||
|
|
||||||
done
|
done
|
||||||
echo "Node type: ${NODE_TYPE}"
|
echo "Node type: ${NODE_TYPE}"
|
||||||
|
|||||||
Reference in New Issue
Block a user