Skip to content

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

craigloewen-msft
Copy link
Collaborator

Added docs for some existing wsl.conf options

Copy link
Contributor

Learn Build status updates of commit 7a63779:

⚠️ Validation status: warnings

File Status Preview URL Details
WSL/wsl-config.md ⚠️Warning 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:

@craigloewen-msft craigloewen-msft requested a review from benhillis May 6, 2025 21:36
@@ -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 |
Copy link
Contributor

@crramirez crramirez May 7, 2025

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?

Copy link
Contributor

@crramirez crramirez May 8, 2025

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

Copy link
Contributor

Learn Build status updates of commit 8de9d88:

⚠️ Validation status: warnings

File Status Preview URL Details
WSL/wsl-config.md ⚠️Warning 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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants