lp:~soren/ec2-init/appliancexml
- Get this branch:
- bzr branch lp:~soren/ec2-init/appliancexml
Branch merges
Branch information
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
- 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.
- 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)