Skip to content

Instantly share code, notes, and snippets.

@kuttor
Created April 23, 2018 00:40
Show Gist options
  • Save kuttor/df3f435c27c43360065311fe8a6db5cf to your computer and use it in GitHub Desktop.
Save kuttor/df3f435c27c43360065311fe8a6db5cf to your computer and use it in GitHub Desktop.
wsl config file /etc/wsl.conf
[automount]
enabled = true
root = /mnt/
options = "metadata,umask=22,fmask=11"
mountFsTab = false
[network]
generateHosts = true
generateResolvConf = true
@kuttor
Copy link
Author

kuttor commented Apr 25, 2018

Gist for my default wsl.conf file.

Should be placed at /etc/wsl.conf

@nagkumar
Copy link

nagkumar commented Apr 3, 2021

what is the way to change this.. so that this issue can be resolved microsoft/WSL#6749

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