Skip to content

Instantly share code, notes, and snippets.

@cwilhit
Last active July 2, 2019 22:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cwilhit/74062997951e7f8c478722a3a526d6b3 to your computer and use it in GitHub Desktop.
Save cwilhit/74062997951e7f8c478722a3a526d6b3 to your computer and use it in GitHub Desktop.
#Let’s enable extra metadata options by default
[automount]
enabled = true
root = /windir/
options = "metadata,umask=22,fmask=11"
mountFsTab = false
#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
@Walkman100
Copy link

Haven't tested this - but that " at the beginning looks suspicious to me, that shouldn't be correct ini/gitconfig syntax as the article suggests...

@cwilhit
Copy link
Author

cwilhit commented Jul 11, 2018

Fixed, thanks for catching :)

@mattiasghodsian
Copy link

When you're done editing wsl.conf you can execute this command Restart-Service LxssManager in PowerShell as admin to restart your distros

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