On 05/03/2011 09:39 AM, Tim Dunphy wrote: > virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}' Do you want the "ID Number" or the "Name" to pass in? That gives you the number, I think you want the name ... that would be $2 not $1.
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos