Change/Add ssh key virtual machine

Hi All,

I am new in the open nebula world…

I want change the ssh key associate to a virtual machine but it is not possible change it from virtual machine because it is refer to his template.

If I change the ssh key in the template it is not update on VM, maybe is it applicate for new VM?

Anyway how can change the ssh key on a existent VM?

Many thanks,

Ubuntu 16.04, Open Nebula 5.4.1

You can achieve that via sunstone:

Instances → VMs → <your_vm> → Conf → Update Configuration → Context → SSH public key

Or via CLI

onevm updateconf <your_vm>