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 ~/local/cloud/20_centos_sshkey.cfg:/etc/cloud/cloud.cfg.d/20_centos_sshkey.cfg -d c7-template
Contents of the file:sudo virt-customize --upload ~/local/cloud/20_centos_sshkey.cfg:/etc/cloud/cloud.cfg.d/20_centos_sshkey.cfg -d c7-template
#cloud-config
ssh_authorized_keys:
- ssh-rsa [mysshkeyhere]
_______________________________________________ CentOS-virt mailing list CentOS-virt@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos-virt