Re: cloud-init issue w/ GenericCloud image

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

 



On 30/03/16 03:46, Tom Sorensen wrote:
> 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:
> 

Have you considered using a Config Drive instead ? That way you can
actually do whatever contexutalisation you need. Here is an example you
can likely clone and extend:

https://github.com/kbsingh/atomic-ci/blob/master/tests/z_0-genConfigDrive/1-genConfigDrive.sh

You would then just need to boot the instance with this config drive
.iso attached as the cdrom to the machine, which should also just be
scriptable.

Regards

-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos-virt



[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux