Hi,

Please see the init scripts available over at:
https://github.com/shankerbalan/cloudstack-scripts

Alternatively, you can use cloud-init with cloudstack as a data source:
http://shankerbalan.net/blog/cloud-init-supports-cloudstack-as-data-source/

Normally one would bake these into their template.

Once you have your template created you can bring up a new instance with an
ssh key assigned and login using it:
http://shankerbalan.net/blog/ssh-keys-on-cloudstack-guest-instances-using-cloud-init/

On 26 September 2014 07:06, Asanka sanjaya Herath <angal...@gmail.com>
wrote:

> ​I followed this guide in order to use ssh keys for authentication in
> cloudstack.
>
>
> https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/using-sshkeys.html
>
>
> According to this document we need to create an instance and download a
> script to it  (section 5.2.1) . My problem is should I create another
> template from the instance which created in section 5.2.1?​
> Because in section 5.2.3, it says us to give the template ID in order to
> create a new instance.
>
> --
> Thanks,
> Regards,
> ASH
>

Reply via email to