You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot get my vagrant machine to halt because it errors out during the shutdown procedure when it gets to removing the hosts from the hosts file. The vagrant machine keeps running because of the interruption. The terminal is saying that my user is not in the sudoers file, however, I never had to access the sudoers file to run vagrant in the first place (for the last few years).
When I run vagrant up, I see the plugin reporting that it is writing to the /etc/hosts file (like it always does). However, I cannot access any of my sites because the hosts file was not actually updated. This problem started occurring recently after I updated vagrant from an older version. Is there any way to fix this? I tried using vagrant plugin repair, however, that does not solve the problem either.
Installed Vagrant Version: 2.1.1
I cannot get my vagrant machine to halt because it errors out during the shutdown procedure when it gets to removing the hosts from the hosts file. The vagrant machine keeps running because of the interruption. The terminal is saying that my user is not in the sudoers file, however, I never had to access the sudoers file to run vagrant in the first place (for the last few years).
When I run
vagrant up
, I see the plugin reporting that it is writing to the /etc/hosts file (like it always does). However, I cannot access any of my sites because the hosts file was not actually updated. This problem started occurring recently after I updated vagrant from an older version. Is there any way to fix this? I tried usingvagrant plugin repair
, however, that does not solve the problem either.This is what the terminal reads:
This is what my hosts file looks like:
my current workaround is to copy the output of the hostupdater (above) and modifying the hosts file manually.
The text was updated successfully, but these errors were encountered: