[libvirt-users] Libvirt LXC hostname

Hello, I am trying to bring up an lxc with Centos 6.6 using libvirt command: "virsh -c lxc:/// create vm.xml" When I do the above, the new VM created gets the hostname of the host where libvirt is installed. When I looked up help on the past mail-lists. It seems like this was a problem back in 2013 and it was mentioned that host name cannot be provided. I was wondering if this has been resolved and the host name can be provided in the URI. Link to the similar issue back in 2013: https://www.redhat.com/archives/libvirt-users/2013-November/msg00080.html Any help is much appreciated. Thank you, Anu

On 13.06.2015 00:21, Anu Mercian wrote:
Hello,
I am trying to bring up an lxc with Centos 6.6 using libvirt command:
"virsh -c lxc:/// create vm.xml"
When I do the above, the new VM created gets the hostname of the host where libvirt is installed. When I looked up help on the past mail-lists. It seems like this was a problem back in 2013 and it was mentioned that host name cannot be provided. I was wondering if this has been resolved and the host name can be provided in the URI.
Link to the similar issue back in 2013: https://www.redhat.com/archives/libvirt-users/2013-November/msg00080.html
Any help is much appreciated.
Thank you, Anu
I am afraid it is still not possible. Maybe you can open a bug for that (check if none exists already). Michal
participants (2)
-
Anu Mercian
-
Michal Privoznik