Re: [vagrant-up] vagrant ssh-config HostName changes post running a provisioning shell script??

2018-02-02 Thread Shashank Korada
Hi Alvaro, This is my vagrant file and I havent set any config.vm.hostname in my Vagrantfile. When I checked the hostname on the VM , it shows as vagrant. VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.ssh.forward_agent = true config.vm.box =

Re: [vagrant-up] vagrant ssh-config HostName changes post running a provisioning shell script??

2018-02-02 Thread Alvaro Miranda Aguilera
vagrant will change the hostname if there is a config.vm.hostname = "something" in the Vagrantifle otherwise it shouldn't why you are running vagrant commands with sudo? On Thu, Feb 1, 2018 at 9:45 PM, Shashank Korada wrote: > > down votefavorite >