Fix VM name for diagnose display
This commit is contained in:
parent
94a498aef6
commit
e506b9c2d8
|
@ -80,7 +80,7 @@ then
|
|||
echo ""
|
||||
else
|
||||
for VM in $VMs ; do
|
||||
NAME=$( one "onevm show $VM" | grep 'NAME' | cut -d: -f2 )
|
||||
NAME=$( one "onevm show $VM" | grep '^NAME' | cut -d: -f2 )
|
||||
STAT=$(one "onevm show $VM" | grep '^STATE' | cut -d: -f2 | tr -d ' ' )
|
||||
printf ". %${len_pf}s => " "$NAME"
|
||||
eOneStatus "$STAT"
|
||||
|
|
Loading…
Reference in New Issue