Skip to content

Instantly share code, notes, and snippets.

@violen
Created June 11, 2019 11:56
Show Gist options
  • Select an option

  • Save violen/7fc723dae87e7586c007ca96f1728847 to your computer and use it in GitHub Desktop.

Select an option

Save violen/7fc723dae87e7586c007ca96f1728847 to your computer and use it in GitHub Desktop.
WSL Example Config /etc/wsl.conf
# See MS Blog https://blogs.msdn.microsoft.com/commandline/2018/02/07/automatically-configuring-wsl/
# Let’s enable extra metadata options by default
[automount]
enabled = true
root = "/mnt/"
options = "metadata,umask=22,fmask=11"
mountFsTab = true
# Let’s enable DNS – even though these are turned on by default, we’ll specify here just to be explicit.
[network]
generateHosts = true
generateResolvConf = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment