Comment 4 for bug 1238934

Revision history for this message
Andrew Wilkins (axwalk) wrote :

Looks like it will be doable:
 - if cloud-init isn't installed already, install it. We'll want to remove the upstart jobs immediately, or the machine will not be happy when it restarts and there's no EC2 metadata service.
 - generate a YAML config file with the user-data in it
 - run "sudo cloud-init -f <yaml-file> modules"

It would be ideal if there were a python-cloud-init package as well as a cloud-init package, then we wouldn't have to worry about the upstart jobs.