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
Just using networking.extraHosts will not change the /etc/hosts file since that one is by default managed by WSL.
To Reproduce
set config.networking.extraHosts = 'test 127.0.0.1'
Expected behavior
I think either there should be an assertion that makes sure that wsl.wslConf.network.generateHosts and networking.extraHosts aren't set together, or even more ideally would be ofc a solution where we could still append to the wsl hosts config ^^
The text was updated successfully, but these errors were encountered:
Bug description
Just using
networking.extraHosts
will not change the/etc/hosts
file since that one is by default managed by WSL.To Reproduce
set
config.networking.extraHosts = 'test 127.0.0.1'
Expected behavior
I think either there should be an assertion that makes sure that
wsl.wslConf.network.generateHosts
andnetworking.extraHosts
aren't set together, or even more ideally would be ofc a solution where we could still append to the wsl hosts config ^^The text was updated successfully, but these errors were encountered: