I'd like to suggest that this rightscale script could be inserted as user-data.
The ubuntu ec2 images support executing arbitrary content passed in via user-data. This hook should be powerful enough to allow the rightscale script to be provided to ec2-init in that user-data and do whatever magic it needs to do.
The benefit of dynamically inserting the script over being hard coded is that there is no need for rightscale to request a ec2-init package upgrade to change their init scripts.
I'd like to suggest that this rightscale script could be inserted as user-data.
The ubuntu ec2 images support executing arbitrary content passed in via user-data. This hook should be powerful enough to allow the rightscale script to be provided to ec2-init in that user-data and do whatever magic it needs to do.
The benefit of dynamically inserting the script over being hard coded is that there is no need for rightscale to request a ec2-init package upgrade to change their init scripts.
I dont think we have very good doc over how user-data content is handled at the moment, but the implementation is in ec2-run-user-data (http:// bazaar. launchpad. net/%7Eubuntu- branches/ ubuntu/ karmic/ ec2-init/ karmic/ annotate/ head%3A/ ec2-run- user-data. py) and ec2-init's (http:// bazaar. launchpad. net/%7Eubuntu- branches/ ubuntu/ karmic/ ec2-init/ karmic/ annotate/ head%3A/ ec2-init) invocation of that.