Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostmanager should update both WSL2 host and guest #284

Open
hemangajmera opened this issue Oct 4, 2021 · 0 comments
Open

Hostmanager should update both WSL2 host and guest #284

hemangajmera opened this issue Oct 4, 2021 · 0 comments

Comments

@hemangajmera
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant