[libvirt-users] UTS namespace

Aarti Sawant aartipsawant10 at gmail.com
Thu Nov 14 05:56:25 UTC 2013


Hello,

I am trying to set up UTS name space on centos 6.4 LXC container.
one method is that we set the host name in /etc/sysconfig/network.
hostname=test1
Is there any way so that i can set the hostname in libvirt xml while
creating a container?

I know using lxc-tools we can set hostname while creating by 2 ways
- first while creating container using lxc-create -u test1
- Second by specifying lxc.utsname=test1 in config file

Thanks
Aarti Sawant
NTTDATA OSS Center Pune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131114/564477dc/attachment.htm>


More information about the libvirt-users mailing list