[lxc-users] LXD on EC2/AWS - containers not getting IP addresses?

Tomasz Chmielewski mangoo at wpkg.org
Thu Mar 23 04:09:05 UTC 2017


On 2017-03-23 13:00, Tomasz Chmielewski wrote:
> I've just launched a Ubuntu 16.04 instance on EC2.
> 
> Unfortunately, LXD containers are not getting an IP address.

(...)

> What step did I miss?

I see that I've run "dpkg-reconfigure -p medium lxd" too late (after the 
container was created), and because of this eth0 was set to manual (in 
/etc/network/interfaces.d/):


auto eth0
iface eth0 inet manual


New containers have it properly set to dhcp.


So - problem solved! :)


Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list