Hi all

I use vagrant-vshere to deploy.
Now I clone the box from my base box.

I use a 
vsphere.customization_spec_name = 'Vagrant1' (here I spesify an unused IP)
and
config.vm.network :private_network, ip:"10.1.212.2"

now all goes well until.....
Vagrant tries to ssh to that box.

Ikeep getting this.

DEBUG ssh: == Net-SSH connection debug-level log END ==
 INFO ssh: SSH not up: #<Vagrant::Errors::SSHAuthenticationFailed: SSH 
authentication failed! This is typically caused by the public/private
keypair for the SSH user not being properly set on the guest VM. Please
verify that the guest VM is setup with the proper public key, and that
the private key path for Vagrant is setup properly as well.>

Now as I have it in Vagrant 1.7 (I use 1.7.4) it creates it's own unique 
key?

After a reboot the ip has changed.

Now I get this error

DEBUG ssh: == Net-SSH connection debug-level log END ==
 INFO retryable: Retryable exception raised: #<Timeout::Error: execution 
expired>
 INFO ssh: Attempting to connect to SSH...
 INFO ssh:   - Host: 10.1.212.2
 INFO ssh:   - Port: 22
 INFO ssh:   - Username: vagrant
 INFO ssh:   - Password? false
 INFO ssh:   - Key Path: ["/home/user1/.vagrant.d/insecure_private_key"]

Now it did not set my default gateway properly, I added that.

Now I get the first error again.

In debug it sees that vagrant is not using vagrant or no passwd as a 
password to ssh in?
INFO ssh:   - Username: vagrant
 INFO ssh:   - Password? false

This is driving me nuts!!


-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/4236fe32-8c4a-4478-9092-29f92a61961e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to