Hi Serge,<br>Ok thanks, it's clear now.<br><br><br><div class="gmail_quote">On Wed, Nov 14, 2012 at 2:25 AM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@canonical.com" target="_blank">serge.hallyn@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Quoting Rintcius Blok (<a href="mailto:rintcius@gmail.com" target="_blank">rintcius@gmail.com</a>):<br>
> Hi,<br>
><br>
> Just curious.<br>
> I was running an lxc-create command for ubuntu-cloud and saw this output:<br>
><br>
> Configuring for running outside of a cloud environment<br>
> If you want to configure for a cloud evironment, please use '-- -C' to<br>
> create the container<br>
><br>
> What the difference is between using '-- -C' or not, i.e. what is<br>
> exactly the 'cloud environment' that is mentioned here?<br>
> Since there is already some cloudy aspect implied by the ubuntu-cloud<br>
> template name, I guess this is on a different level.<br>
><br>
> Can someone shed some light on this?<br>
<br>
</div></div>It has to do with cloud-init searching for a metadata server which can<br>
provide per-instance data. Assuming you don't have a metadata server,<br>
your container would probably never fully come up. It's something which<br>
comes preconfigured in the ubuntu-cloud images for the sake of<br>
auto-configuration in amazon and openstack clouds (i.e. not in<br>
containers, but on cloud VMs - the same image is used for both). You<br>
*could* set up your own metadata service, but I've never done it...<br>
<br>
(See for instance<br>
<a href="http://www.atlanticdynamic.com/you-should-be-using-cloud-init/" target="_blank">http://www.atlanticdynamic.com/you-should-be-using-cloud-init/</a> )<br>
<span><font color="#888888"><br>
-serge<br>
</font></span></blockquote></div><br>