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 have also set my own user account so that I can edit the hosts file without administrator privileges.
If I manually create the entries in the Windows hosts file, then I receive the following in the terminal on vagrant halt:
==> dev.example.com: Attempting graceful shutdown of VM...
==> dev.example.com: [vagrant-hostsupdater] Removing hosts
==> dev.example.com: [vagrant-hostsupdater] Failed to remove hosts, could not use sudo
==> dev.example.com: [vagrant-hostsupdater] Consider adding the following to your sudoers file:
==> dev.example.com: [vagrant-hostsupdater] https://github.com/cogitatio/vagrant-hostsupdater#suppressing-prompts-for-elevating-privileges
sed: can't read ~/.ssh/known_hosts: No such file or directory
(note that this is from the Windows command prompt).
In vagrant version 2.2.14, there are multiple repeat entries in the terminal as reported in another issue. However, it seems that one entry is written to the hosts file and only during the last batch of messages stating that the line is being written. I have observed that sometimes the entry is not removed on a vagrant halt and sometimes it is. Both times the failed to remove host message is shown.
The text was updated successfully, but these errors were encountered:
Vagrant version: 2.2.9 and 2.2.13
Plugin version: 1.2.1
Windows version: 10 Pro
In an administrator prompt after running
vagrant up
I see these lines in the terminal:However, no entries appear in the Windows hosts file.
vagrant halt
shows:I have also set my own user account so that I can edit the hosts file without administrator privileges.
If I manually create the entries in the Windows hosts file, then I receive the following in the terminal on
vagrant halt
:(note that this is from the Windows command prompt).
In vagrant version 2.2.14, there are multiple repeat entries in the terminal as reported in another issue. However, it seems that one entry is written to the hosts file and only during the last batch of messages stating that the line is being written. I have observed that sometimes the entry is not removed on a
vagrant halt
and sometimes it is. Both times the failed to remove host message is shown.The text was updated successfully, but these errors were encountered: