[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian cloud images for OpenStack?



This one time, at band camp, Thomas Goirand said:
> On 07/09/2013 04:38 AM, nemo@nautil.org wrote:
> > On 07/08/2013 03:03 PM, Thomas Goirand wrote:
> >>
> >> Am I missing something? What functionality are we missing because
> >> lacking of these init scripts?
> > I believe one of the main features of cloud-init is to provide user data
> > to the machine at boot time [1]. This functionality did not work for me
> > with the current (0.7.2) version of cloud-init in debian (they work in
> > ubuntu)
> 
> Yes, I know what the user data are. The user data contains the hostname
> and ssh keys, as I wrote above, which did work for me with the version
> in Debian 0.7.2-1. Which is why I don't understand why you are saying
> that it didn't work.

No, that's more generic metadata.  User-data is specifically the base64
encoded chunk that is uploaded by the instance launch process.  It is
downloaded by cloud-init, and dealt with separately to how cloud-init
deals with root keys or hostnames or any of the other pieces of
information available in metadata.  I can see how it's easy to become
confused by the poor naming and the overloading (eg, openstack has 3
completely separate things all called 'metadata').

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: