This is a small script from Amazon (http://aws.amazon.com/code/1825
can pull information from the ec2 metadata service (including compatible
ones like that provided by eucalyptus). The cloud-init package is really
cool and does all sorts of great stuff, but it's also kind of big. This is
all of 7.7k, and together with a simple systemd service to update
authorized_keys would provide a reasonable minimal alternative.
Matthew Miller ☁☁☁ Fedora Cloud Architect ☁☁☁ <mattdm(a)fedoraproject.org>