vagrant-hostmanager icon indicating copy to clipboard operation
vagrant-hostmanager copied to clipboard

Hostmanager should update both WSL2 host and guest

Open hemangajmera opened this issue 4 years ago • 1 comments
trafficstars

Hi Not sure if this is possible automatically. I have installed https://www.vagrantup.com/docs/other/wsl and installed hostmanager plugin in WSL2 ubuntu. The plugin updates the file /etc/hosts in ubuntu, but does not update the windows host file, so the hosts entries are not available on windows and I cannot use windows web browser until I manually update C:\Windows\System32\drivers\etc\hosts

Can this plugin take care of it. We can provide some additional parameters to also update windows hosts file along with WSL2 hosts file, so that this is not default behavior.

hemangajmera avatar Oct 04 '21 18:10 hemangajmera

@ssdevopsio @stevebritton @seth-reeser Bump up if possible, pay attention please. Thank you so much for your work

Kol9yN avatar Jan 12 '25 17:01 Kol9yN