Comments (1)
Documentation Issue
blob
Link to documentation page
Automatically mount Windows drive when the distribution is launched
[automount]
Set to true will automount fixed drives (C:/ or D:/) with DrvFs under the root directory set above. Set to false means drives won't be mounted automatically, but need to be mounted manually or with fstab.
enabled = true
Sets the directory where fixed drives will be automatically mounted. This example changes the mount location, so your C-drive would be /c, rather than the default /mnt/c.
root = /
DrvFs-specific options can be specified.
options = "metadata,uid=1003,gid=1003,umask=077,fmask=11,case=off"
Sets the
/etc/fstab
file to be processed when a WSL distribution is launched.mountFsTab = true
Network host settings that enable the DNS server used by WSL 2. This example changes the hostname, sets generateHosts to false, preventing WSL from the default behavior of auto-generating /etc/hosts, and sets generateResolvConf to false, preventing WSL from auto-generating /etc/resolv.conf, so that you can create your own (ie. nameserver 1.1.1.1).
[network] hostname = DemoHost generateHosts = false generateResolvConf = false
Set whether WSL supports interop processes like launching Windows apps and adding path variables. Setting these to false will block the launch of Windows processes and block adding $PATH environment variables.
[interop] enabled = false appendWindowsPath = false
Set the user when launching a distribution with WSL.
[user] default = DemoUser
Set a command to run when a new WSL instance launches. This example starts the Docker container service.
[boot] command = service docker start
Suggested Improvements
No response
from wsl.
Related Issues (20)
- Documentation not updated for usbipd-win 4.0.0
- Additional info for "No internet access" sections in troubleshooting guide
- Google-chrome fails to install 404 file access HOT 1
- Documentation incorrect for usbipd 4.0.0
- update error HOT 1
- The 'Advanced settings configuration' HOT 1
- "Attach a USB device" guide out of date HOT 2
- Attach a USB Device Instructions are outdated and do not work HOT 1
- Read-only file system unable to fix. HOT 1
- Need clarification on filesystems supported by WSL HOT 2
- WSL1/WSL2 comparison table not correct - WSL1 does support IPv6
- Remove the "Debugger for Chrome" resource. It's deprecated HOT 1
- Old usbipd syntax HOT 1
- Update usbipd command HOT 1
- Connect USB devices commands are wrong HOT 1
- WSL and usbipd-win documentation out of date for latest usbipd-win version HOT 1
- Indicate required Linux kernel version for USBIPD HOT 1
- Post a documentation issue
- Bad APOSTROPHE use
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.