[libvirt-users] Getting IP address of a lxc container via libvirt
Harish Vishwanath
harish.shastry at gmail.com
Fri Dec 18 18:43:07 UTC 2015
Hello
I wanted to understand if there is a way to get LXC container's ip address.
- virDomainInterfaceAddresses API only works for qemu/kvm and not with the
lxc driver.
What other options do I have?
Using enter-lxc-namespace is throwing this error:
virsh -c lxc:/// lxc-enter-namespace <domain> --noseclabel /sbin/ifconfig
libvirt: error : Expected at least one file descriptor
Appreciate any help.
Regards,
Harish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20151219/cdd94326/attachment.htm>
More information about the libvirt-users
mailing list