[Python-apps-team] Bug#695327: add README.Debian with pointers

Holger Levsen holger at layer-acht.org
Fri Dec 7 07:10:10 UTC 2012


package: cloud-init
severity: wishlist
x-debbugs-cc: debian-cloud at lists.debian.org

Hi Clint,

On Freitag, 7. Dezember 2012, Clint Byrum wrote:
> > The functionality I need can probably be done in ~100 lines of sh, plus I
> > really couldnt figure out how to use cloud-init at all, so... here i go.
> Perhaps I missed where the functionality you want isn't handled by
> cloud-init?

Actually, it seems I missed what cloud-init is useful for. (Also see #695326)

So maybe add this to README.Debian, together with other pointers, how to use 
it such a cloud setup with user-data?!
 
> The way to use it without EC2 or OpenStack is documented in
> doc/sources/nocloud/README
> 
> Basically, you put meta-data into
> /var/lib/cloud/seed/nocloud/meta-data. This is described in
> doc/examples/seed/. This file is where you set things like hostname and
> install authorized_keys.
> 
> Then to do further system configuration a cloud-config stanza goes in
> /var/lib/cloud/seed/nocloud/user-data
> 
> The capabilities of cloud-config are best discovered in
> doc/examples/cloud-config.txt

Thanks, this was very useful.


> This idea that "all I need is a 100 line shell script" makes sense if
> your focus is narrow, but cloud-init has grown out of the idea that a
> single generic interface for doing first-boot initialization of a clean
> image is more useful than many many 100 line shell scripts.

of course.


cheers,
	Holger



More information about the Python-apps-team mailing list