lp:~soren/ec2-init/appliancexml

Created by Soren Hansen and last modified
Get this branch:
bzr branch lp:~soren/ec2-init/appliancexml
Only Soren Hansen can upload to this branch. If you are Soren Hansen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Soren Hansen
Project:
EC2 init scripts
Status:
Merged

Recent revisions

62. By Soren Hansen

Implement EBS volume mounting

This can either be invoked by instrumenting the user-data with a mime
part with content-type 'text/x-ebs-mount-description' with a body like
so:

device=/dev/sde:/var/lib/mysql,/etc/alfresco
device=/dev/sdf:/other/things

or by using the appliance config XML format like so:

<appliance>
  <storage device="/dev/sde">
 <path>/var/lib/mysql</path>
    <path>/etc/alfresco</path>
 </storage>
  <storage device="/dev/sdf">
    <path>/other/things</path>
  </appliance>
</appliance>

In either case, if the volume does not yet have a filesystem, one will be created.

For each path that is to live on the volume, a directory is created, and
populated with the data currently in the target directory (e.g.
/var/lib/mysql is copied to ${ebs_volume_path}/_var_lib_mysql). Once
this is done, the directories are bind-mounted to the relevant paths.
If the directories in question already exist, they will just be bind-mounted.

61. By Soren Hansen

Merge with lp:~soren/ec2-init/decorator

  Add @handler decorator for appliance config

60. By Soren Hansen

Added script handling to appliance config handling.
Added test cases for this.

59. By Soren Hansen

Added basic appliance config handling (specifically package installation and removal)
Also added unit tests for the above.

58. By Soren Hansen

Merge lp:~smoser/ec2-init/bugfix-412143

Fixes invalid $ssh token in Required-Start LSB init header.

57. By Soren Hansen

Update /etc/default/locale with locale setting derived from locality.

56. By Soren Hansen

Consolidate on the use of urllib2 (rather than both urllib and urllib2)

55. By Soren Hansen

Fix ec2-get-info to work with simple testing environment (i.e. don't append a slash to every single URL)

54. By Soren Hansen

Set ownership of user's .ssh directory correctly.
Disable root by default.
Fail more gracefully if ssh keys could not be fetched.

53. By Soren Hansen

Extend config API to allow for default values.
Handle undefined config values gracefully.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 with rich root (needs bzr 1.0)
This branch contains Public information 
Everyone can see this information.

Subscribers