Update nodemgmt-scripts.sh
This commit is contained in:
@@ -563,7 +563,7 @@ STATUS(){
|
||||
|
||||
[ "${ST_ACTION}" != "check" ] && echo -en " ${idsCL[LightCyan]}Getting drives from server ... ${idsCL[Default]}"
|
||||
declare -A partitions
|
||||
DRIVEINFO=$(ssh root@${host_ip[$hostid]} df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage|nvme|localhost|shm|mmcblk|overlay|-volume|Music|Software' | awk '{ print $1 " " $2 " " $4 }')
|
||||
DRIVEINFO=$(ssh root@${nip} df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage|nvme|localhost|shm|mmcblk|overlay|-volume|Music|Software' | awk '{ print $1 " " $2 " " $4 }')
|
||||
echo $DRIVEINFO
|
||||
DRIVEINFO=(${DRIVEINFO})
|
||||
echo $DRIVEINFO
|
||||
|
||||
Reference in New Issue
Block a user