Hello!
Im setting up vagrant & VM's at work and ran into a problem with vagrant up.
Setup:
Host: Win7
Git 2.15.0
Vagrant 2.1.2
VirtualBox 5.2.12
Win7 VM
The box was created by my self from windows 7 machine.
Vagrantfile:
Vagrant.configure("2") do |config|
config.vm.box = "xxx"
config.ssh.insert_key = false
config.ssh.private_key_patH = "C:/Users/./.vagrant.d/insecure_private_key"
config.ssh.username ="USER"
config.ssh.host = "ip"
config.ssh.port = "22"
config.vm.network "private network", ip: "ip"
end
VM has openSSH working and the private keyfiles set.
When I bring the VM up, GUI mode enabled, with vagrant up, everything launches as should be. VM starts up to desktop, network is ok. Ping goes both ways between host and VM.
Vagrant up how ever hangs at "SSH auth method: private key"
Vagrant up --debug:
Everything else seems general, but repeating attemps end at:
"Starting process: path/to/VBoxManage.exe "showinfo" "key" "--machinereadable" Command not in installer, restoring original environment... "
...
Vagrant up times out.
Vagrant ssh right after connects correctly to VM (sometimes vagrant ssh fails to connection_reset_by_peer, but redo vagrant ssh works. Also ssh -i "path" USER@ip -p22 works and ssh is enstablished)
Problem that this creates is, when running a job from Jenkins to create a VM and run tests on, hanging for 5 minutes on vagrant up and failing wont be doable.
Any help would be greatly appreciated, im also a Vagrant first-timer so mistakes are likely :)
Thanks!!