Open LarkRiseMedia opened 9 years ago
@andrew40
'hosts' should be '/etc/hosts' on OS X for 10.9+ I believe. If you're on an older OS, you might have to look for some vagrant hosts update config to adjust that, as that plug has been sitting for 2 years :grimacing:
Or consider something like https://github.com/smdahlen/vagrant-hostmanager
I'm on the latest OSX 10.10.5 and Vagrant 1.7.4.
But on editing the hosts file for the Bagrant hosts updater it points to nano /private/etc/hosts which gasmask is obviously not picking up.
Not sure why vagrant is using that path as it seems to be consistent.
Just to clarify. /etc
has always been just a symbolic link to /private/etc
on Mac OS X.
If you type "ls -al /etc" in a Terminal window in any version of Mac OS X (or OS X) you'll get something like...
lrwxr-xr-x@ 1 root wheel 11 9 Oct 2014 /etc -> private/etc
So you can use /etc/hosts
and /private/etc/hosts
interchangeably. They're the same file.
Did this get straightened out @andrew40 ?
I love gas mask but its not showing the correct hosts file in /private/etc/hosts which is what Vagrant hosts updater uses. How do i get it to the correct hosts file?