Skip to content

[BUG] when set default user it overwrite systemd=true at /etc/wsl.conf #309

Description

@thedtvn

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

when i set it overwrite /etc/wsl.conf with

[user]
default = username

Expected Behavior

it should be

[boot]
systemd=true

[user]
default = username

Steps To Reproduce

set default user when create

Environment

- Windows Version: Windows 11 Pro 25H2
- WSL Distro Manager Version: v1.11.0
- WSL Version: 2.6.3.0
> - Kernel version: 6.6.87.2-1
> - WSLg version: 1.0.71
- Source: GitHub releases

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions