cloud-config does support passing in ssh keys. Look at http://bazaar.launchpad.net/%7Ecloud-init-dev/cloud- init/trunk/annotate/head%3A/doc/examples/cloud-config.txt for 'ssh_authorized_keys'.
I think what you're suggesting is what Dustin realized can be done. He opened bug 524226 ., with 'ssh-import-id' on it. That script would live inside the image, and then could easily be told to add authorized_keys on boot via cloud-config. The 'runcmd' format of cloud-config would make this trivial: #cloud-config runcmd: - [ su , -c, "ssh-import-id smoser kirkland", ubuntu ] -- optionally fetch public ssh keys from Launchpad when starting an instance https://bugs.launchpad.net/bugs/524101 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
