[nova-api] Inject public key without create key pair in nova ?

Eugen Block eblock at nde.ag
Mon Aug 21 11:29:41 UTC 2023


Hi,

would cloud-init [1] be an option here to add the key via user-data  
during instance creation?

Regards,
Eugen

[1]  
https://cloudinit.readthedocs.io/en/latest/reference/examples.html#configure-instance-s-ssh-keys

Zitat von Pureewat Kaewpoi <pureewat.k at bangmod.co.th>:

> Hi OpenStack Community
>
> We have some requirements that need to create instance via API.  
> However nova-api is accept only key_name of key pair created earlier.
> Can we create instance by passing only public key data without  
> creating a key pair in nova ?
>
> Thank you.






More information about the openstack-discuss mailing list