Skip to content

Hostmanager should update both WSL2 host and guest #284

Description

@hemangajmera

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions