[CentOS-virt] cloud-init issue w/ GenericCloud image
tsorensen at gmail.com
Wed Mar 30 02:46:43 UTC 2016
I'm using the C7.2 GenericCloud image with KVM and am trying to inject my
own ssh key by adding it to /etc/cloud/cloud.cfg.d:
sudo virt-customize --upload
Contents of the file:
- ssh-rsa [mysshkeyhere]
The good news is that it puts something in the authorized_keys file (which
does not occur without it). The bad news is it's complete garbage (from
guestfish) -- http://pastebin.centos.org/42526/
Any suggestion on either how to fix this or a better way to inject the key
for this usage?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS-virt