[Bug 524101] Re: optionally fetch public ssh keys from Launchpad when starting an instance
Scott Moser
smoser at canonical.com
Fri Feb 19 08:44:53 GMT 2010
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.
More information about the Ubuntu-server-bugs
mailing list