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
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to