Can I restore an instance with a ssh key thanks to freezer-agent ?
Hello,
I'm a user of OVH Public Cloud which is based on OpenStack. I wanted to backup my instance into a swift container so I have installed Freezer-agent (ocata).
I have backed up an instance with the command below.
freezer-agent --action backup --nova-inst-id xxxxxxxxxx
Now I can restore it with this command :
freezer-agent --action restore --nova-inst-id xxxxxxxxxx
It works well but I did not find how to add a ssh key to the new instance. With the nova command it's something like that "nova boot --key_name SSHKEY".
I tried to add the "--ssh-key SSH_KEY" option but it didn't work.
hopefully, your ssh key which was working on backed up instance will still work on restored instance. are you asking about how to add a new ssh key to the instance?