I am bringing up a VM using the vmware vagrant plugin and once the VM is up I run a shell script to provision the VM. Prior to the script that runs, following is the ssh-config and other details ssh-config
With this when I run vagrant ssh it does a ssh to the VM without being prompted for a password
Now when my shell script runs , it create certain bridge and network interfaces within the VM and post the script I see that on running ssh-config, it has a different HostName
Why does vagrant change the hostname. Due to this I am unable to do a passwordless ssh to the VM using 'vagrant ssh'
Why does the HostName change here? Is there a way to do a passwordless ssh here? Regards |
--
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 vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/acb28870-c17f-4579-8438-947924387b86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/acb28870-c17f-4579-8438-947924387b86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro