[Openstack-operators] keypair inserting not working with fedora16 image
Jan van Eldik
Jan.van.Eldik at cern.ch
Thu Nov 8 20:01:30 UTC 2012
> Check your cloud-init settings and ensure that the user that you want to
> set the keypair for is configured correctly. It may be injecting the
> keypair for a different user than you expect.
We recently experienced this as well - cloud-init uses the "ec2-user"
account by default, and we now run:
if [ -e /etc/cloud/cloud.cfg ]; then
/bin/sed -i 's|ec2-user|root|' /etc/cloud/cloud.cfg
in our image creation procedure to change this to "root"
hth, cheers, Jan
More information about the OpenStack-operators