[Lxc-users] cloud environment

Rintcius Blok rintcius at gmail.com
Wed Nov 14 17:03:22 UTC 2012


Hi Serge,
Ok thanks, it's clear now.


On Wed, Nov 14, 2012 at 2:25 AM, Serge Hallyn <serge.hallyn at canonical.com>wrote:

> Quoting Rintcius Blok (rintcius at gmail.com):
> > Hi,
> >
> > Just curious.
> > I was running an lxc-create command for ubuntu-cloud and saw this output:
> >
> > Configuring for running outside of a cloud environment
> > If you want to configure for a cloud evironment, please use '-- -C' to
> > create the container
> >
> > What the difference is between using '-- -C' or not, i.e. what is
> > exactly the 'cloud environment' that is mentioned here?
> > Since there is already some cloudy aspect implied by the ubuntu-cloud
> > template name, I guess this is on a different level.
> >
> > Can someone shed some light on this?
>
> It has to do with cloud-init searching for a metadata server which can
> provide per-instance data.  Assuming you don't have a metadata server,
> your container would probably never fully come up.  It's something which
> comes preconfigured in the ubuntu-cloud images for the sake of
> auto-configuration in amazon and openstack clouds (i.e. not in
> containers, but on cloud VMs - the same image is used for both).  You
> *could* set up your own metadata service, but I've never done it...
>
> (See for instance
> http://www.atlanticdynamic.com/you-should-be-using-cloud-init/ )
>
> -serge
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20121114/3be9d893/attachment.html>


More information about the lxc-users mailing list