vagrant-openstack-provider icon indicating copy to clipboard operation
vagrant-openstack-provider copied to clipboard

unable to use existing keypair

Open ssbarnea opened this issue 5 years ago • 0 comments

I tried to follow the instructions form https://github.com/ggiamarchi/vagrant-openstack-provider in order to convince vagrant to use an existing keypair but it seems impossible to find the magic combination of parameters, regardless which patch I used.

a) I do have a keypair on local machine ~/.ssh/id_rsa[.pub] with the mention that they private key is encrypted (but is loaded by ssh agent and usable by any ssh client). b) I do have the pubkey uploaded to openstack but using key_name param seems impossible as for some reason the plugin asks for private keys and key paths, something that makes no sense as the only thing that is asked by openstack is the key_name. No private key should be involved here as that is supposed to be already loaded in-memory and managed by a ssh-agent.

ssbarnea avatar Jul 02 '19 19:07 ssbarnea