msimonin / vagrant-g5k

Hacking around vagrant and g5k
MIT License
3 stars 1 forks source link

automatic key insertion is stuck #6

Open msimonin opened 7 years ago

msimonin commented 7 years ago

When vagrant detects an insecure key it tries to automatically inject a new one. This works fine until vagrant tries to close the connection (made with the original one) before reconnecting with the new key. Vagrant stucks on closing the connection. Killing the corresponding ssh process makes vagrant to progress but isn't a right workaround.

As a workaround one may use config.ssh.insert_key=false in the Vagrantfile. It will prevent Vagrant to inject the new key in the vm.