Init scripts for use on cloud images


Created by Clint Byrum on 2010-07-08 and last modified on 2010-07-08
Get this branch:
bzr branch lp:~clint-fewbar/cloud-init/glusterfs-mount-example
Only Clint Byrum can upload to this branch. If you are Clint Byrum please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Clint Byrum

Recent revisions

223. By Clint Byrum on 2010-07-08

Adding gluster example

222. By Scott Moser on 2010-07-07

warn on failed 'mount -a'

221. By Scott Moser on 2010-07-07

manage hostname setting better (LP: #596993)

On EBS instances, a shutdown and later start would end up with a
different IP address.

In the case where the user has not modified /etc/hostname from its
original value (seeded by metadata's 'local-hostname'), then cloud-init
will again set the hostname and update /etc/hostname.

In the case where the user *has* modified /etc/hostname, it will remain
user managed.

Additionally, if /etc/cloud/cloud.cfg contains 'preserve_hostname' value
set to a True value, then /etc/hostname will not ever be touched.

220. By Scott Moser on 2010-07-02

resort to "starts with" to find mime type only on plain/text (LP: #600799)

The starts-with determination of mime type was overriding an explicit
setting in the mime-type. This was evident when the mime type specified
boothook, but the content began with '#!'. In that case, the content
would run as a user script rather than boothook.

219. By Scott Moser on 2010-07-02

fix invalid log string when reading from preseeded ec2 cache

218. By Scott Moser on 2010-07-02

fix removal of '#cloud-boothook' inside a boothook

The goal was to remove '#cloud-boothook' from a part if the part
started that way. This was to allow user data of

to be handled correctly. That had 2 bugs
1.) the prefix string was wrong
2.) was checking for '\r' in the wrong location

217. By Scott Moser on 2010-07-02

remove incorrect docstring in write-mime-multipart

216. By Scott Moser on 2010-06-30

on bad cloud-config syntax (failure to yaml.load) continue on

If user gives bad cloud-config syntax, its not very useful to die, as
that is most likely to leave the system unreachable. This instead
logs the error and continues as if it no cloud-config was given.

215. By Scott Moser on 2010-06-30

mention nobootwait in mount configuration

nobootwait is likely important if the user is attempting to set up ebs
volume mount points via this mechanism. See 'man fstab' for more
inforation on this option

214. By Scott Moser on 2010-06-21

fix bug with apt_update_upgrade config, missing import

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.