On 04-03-17 12:07, Yuri Kanivetsky wrote:
Which way is better? Can it be any simpler? Is there any better way?
Can you explain how to make use of dhcp? Without using lxd if possible.
Meanwhile, I'm going to look into making CentOS work.
I just installed dnsmasq on the (ubuntu 16.04) host and use it as dhcp
(and dns) server.
Define a dhcp range in /etc/dnsmasq.conf :
dhcp-range=10.0.0.100,10.0.0.200,24h
And a fixed ip like:
dhcp-host=<hostname>,10.0.0.11,24h
where hostname is by default the container name
Cheer,
Sjoerd
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users