Open dglinder opened 8 years ago
In my case on Windows 10 i was looking in error that was in cmder. there was permission denied for C:/Users/Alex/.vagrant.d/tmp/hosts.local, i checked with ls -all C:/Users/Alex/.vagrant.d/tmp
there was two files:
-r--r--r-- 1 Alex 0 3466 2017-01-06 10:59 hosts.local
-rw-rw-rw- 1 Alex 0 2220 2017-01-06 11:31 hosts.youwe-vm
i removed falg "Read Only" for hosts.local it solved my issue
Platform: OSX 10.11.6 (El Capitan), Vagrant 1.8.5,
I have setup my account ("dan") in the /etc/sudoers so it can modify the /etc/hosts file:
When I run a simple
vagrant up
on this Vagrantfile:The run fails:
If I manually run
sudo /bin/cp /Users/dan/.vagrant.d/tmp/hosts.local /etc/hosts
as mydan
user the/etc/hosts
file is updated from the generatedhosts.local
.