lp:~smoser/ec2-init/ec2-init.devel
- Get this branch:
- bzr branch lp:~smoser/ec2-init/ec2-init.devel
Branch merges
Related bugs
Related blueprints
Branch information
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 - 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. - 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)