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