Discover what vnet is attached to a kvm guest

carlopmart carlopmart at gmail.com
Fri May 13 08:48:18 UTC 2011


Hi all,

  How can I see what vnet is attached to a certain kvm guest?? For 
example: I have a kvmguest1. When I launch this guest with virsh 
command, virsh creates a new vnetX interface for this guest. How can I 
extract this virtual net interface (vnet0, vnet1, vnet2 or so on) using 
a script??

Thanks.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com




More information about the ubuntu-server mailing list