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

Stéphane Graber stgraber at ubuntu.com
Thu Mar 23 04:12:05 UTC 2017


On Thu, Mar 23, 2017 at 01:09:05PM +0900, Tomasz Chmielewski wrote:
> 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! :)

Ah indeed, that would be another problem :)

Glad you figured it out.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170323/a634de78/attachment.sig>


More information about the lxc-users mailing list