lp:~smoser/ec2-init/ec2-init.devel

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/ec2-init/ec2-init.devel
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
EC2 init scripts
Status:
Development

Recent revisions

137. By Scott Moser

make disable-ec2-metadata persistent across boots

The sem_and_run and such needs some work, donesn't make a lot of sense
for "always".

136. By Scott Moser

add the part-handler plugin

If a part of a multipart file is 'text/part-handler' then it is
expected to be python code that implements 2 methods

- list_types()
  list the types that this part-handler supports, return
  a list. ie: return(['text/plain'])

- handle_parts(data,ctype,filename,payload)
  this method will be called:
     once, when loaded, with ctype == '__begin__'
     once per part
     once, at the end, with ctype == '__end__'

   - ctype is the content type ('text/plain')
   - filename is the filename portion of the mime data
   - payload is the content of the part
   - data is currently the cloud object, but this could change

135. By Scott Moser

add examples and userdata.txt to doc

134. By Scott Moser

Add support for user defined mount points

Also, move swap to use this format for specifying mounts. That way
the user can turn off swap if they want with:
 | mounts:
 | - [ swap ]

Other change wrapped in here is to have DataSourceEc2 read plain text
(evalable) text for its metadata rather than pickl. This is really for
debuging anyway, so any speed difference is not important.

133. By Scott Moser

add doc/userdata.txt, move examples to doc/.

132. By Scott Moser

improve write-mime-multipart to support 'starts_with'

131. By Scott Moser

add examples of user data

130. By Scott Moser

in #include type, allow comment lines

129. By Scott Moser

add 'starts_with' mapping for upstart-job

128. By Scott Moser

move writing sources.list to CloudConfig. add 'apt_preserve_sources_list'

Move the writing of sources.list to CloudConfig. This way we have
access to the cloud-config user data. Then, allow the user
to specify the archive mirror using 'apt_mirror' key.

Now, if specified in cloud-config, that is used, otherwise, we
get one from the DataSource.

One other change here is adding 'apt_preserve_sources_list'. If set to
true, then overwriting of the sources.list with the selected mirror
will not be done.

Branch metadata

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