Explorar el Código

Fix VM name for diagnose display

tags/pkg/stable/eole-2.7.0/1.0.0-0
Philippe Caseiro hace 5 meses
padre
commit
e506b9c2d8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      diagnose/04-virtualisation

+ 1
- 1
diagnose/04-virtualisation Ver fichero

@@ -80,7 +80,7 @@ then
80 80
   echo ""
81 81
 else
82 82
   for VM in $VMs ; do
83
-    NAME=$( one "onevm show $VM" | grep 'NAME' | cut -d: -f2 )
83
+    NAME=$( one "onevm show $VM" | grep '^NAME' | cut -d: -f2 )
84 84
     STAT=$(one "onevm show $VM" | grep '^STATE'  | cut -d: -f2 | tr -d ' ' )
85 85
     printf ".  %${len_pf}s => " "$NAME"
86 86
     eOneStatus "$STAT"

Loading…
Cancelar
Guardar