Re: Getting public keys from keypairs with cloudinit 0.7.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the info Vitaly. I checked the code a bit and filled a bug report. There seems to be a problem with testing an instance of some boto lazy-evaluating class:

https://bugs.launchpad.net/cloud-init/+bug/1077875


On Mon, Nov 12, 2012 at 12:31 PM, Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> wrote:
On 11/12/2012 12:15 PM, Tomas Karasek wrote:
Hi,
to people who were testing cloudinit 0.7.0 in an environment using the
DataSourceEc2 (OpenStack, Amazon, probably other environments too):

In Openstack and amazon, you can upload public keys to the web interface
of the cloud, and the public keys are then downloaded to each instance
you launch. Cloudinit then takes care of downloading the public keys and
placing them to .ssh/authorized_keys. It reaches the keys via the EC2
api (i.e. http://169.254.169.254).

Did you manage to get a user's public key to authorized_keys with
cloudinit 0.7.0?


I've managed to get this working with EC2. But there is an issue with 0.7.0 - the authorized_keys file is filled in only for 'default' user (so if you change this setting in cloud.cfg you'll end up with no authorized_keys file). It looks like a bug (or a weird feature :), gholms wanted to discuss this issue with upstream.

http://lists.fedoraproject.org/pipermail/cloud/2012-October/001826.html

--
Vitaly Kuznetsov, Cloud QE
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud

_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux