-
Committer:
Henrik Ingo
-
Date:
2011-05-06 22:45:15 UTC
-
Revision ID:
henrik.ingo@avoinelama.fi-20110506224515-uhom7gcgftpc6myr
Just when I was about to launch the loitsut.org site for serving my own
type of user data scripts, I found that alestic.com already did this 2
years ago, and Ubuntu and Debian images already exist that will recognize
and run user-data scripts with their approach.
So this commit abandons the loitsutbuildslave.py, and instead introduces
ec2userdatabuildslave.sh. The main difference in the approach was that
in loitsut you simply pass a script name as parameter, whereas the
alestic approach runs the user-data itself as a shell script. However,
it turns out that it then makes sense to keep this shell script small
and use their runurl utility to run a remote script for the main work
(which was the approach taken by loitsut too).
http://alestic.com/2009/06/ec2-user-data-scripts
http://alestic.com/2009/08/runurl
http://alestic.com/2010/12/ec2-user-data-output