-
Notifications
You must be signed in to change notification settings - Fork 611
Documented new wsl.conf options #2175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Learn Build status updates of commit 7a63779:
|
File | Status | Preview URL | Details |
---|---|---|---|
WSL/wsl-config.md | View | Details |
WSL/wsl-config.md
- Line 12, Column 133: [Warning: bookmark-not-found - See documentation]
Cannot find bookmark '#the-8-second-rule-for-configuration-changes' in 'wsl-config.md'.
- Line 98, Column 147: [Warning: file-not-found - See documentation]
Invalid file link: './file-permissions'.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
- Try searching the learn.microsoft.com contributor guides
- Post your question in the Learn support channel
WSL/wsl-config.md
Outdated
@@ -144,6 +144,23 @@ wsl.conf section label: `[boot]` | |||
| Key | Value | Default | Notes | | |||
|:----|:----|:----|:----| | |||
| `command` | string | `""` | A string of the command that you would like to run when the WSL instance starts. This command is run as the root user. e.g: `service docker start`. | | |||
| `protectBinfmt` | boolean | `true` | Prevents WSL from generating systemd units when systemd is enabled | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the default value of this, true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the comment suggest me that by default it won't generate systemd units
Learn Build status updates of commit 8de9d88:
|
File | Status | Preview URL | Details |
---|---|---|---|
WSL/wsl-config.md | View | Details |
WSL/wsl-config.md
- Line 12, Column 133: [Warning: bookmark-not-found - See documentation]
Cannot find bookmark '#the-8-second-rule-for-configuration-changes' in 'wsl-config.md'.
- Line 98, Column 147: [Warning: file-not-found - See documentation]
Invalid file link: './file-permissions'.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
- Try searching the learn.microsoft.com contributor guides
- Post your question in the Learn support channel
Added docs for some existing wsl.conf options