Skip to content

Instantly share code, notes, and snippets.

@mattiasghodsian
Last active July 2, 2019 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattiasghodsian/0da7cfd23f18faaf56b41d931b32f909 to your computer and use it in GitHub Desktop.
Save mattiasghodsian/0da7cfd23f18faaf56b41d931b32f909 to your computer and use it in GitHub Desktop.
Automatically Configuring Windows Subsystem for Linux
# Place wsl.conf in /etc
# Restart LxssManager by executing command Restart-Service LxssManager in PowerShell as admin
# For more options read: https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/
[automount]
enabled = true
root = /mnt/
options = "metadata,umask=22,fmask=11"
mountFsTab = false
[network]
generateHosts = true
generateResolvConf = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment