Windows Version
Microsoft Windows [10.0.19045.5679]
WSL Version
2.5.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.75.1-microsoft-standard-WSL2
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
- Upgrade WSL to version 2.5.4
- Launch WSL Settings and change networking mode to mirrored
Expected Behavior
On Windows 10 change should not be applied, mirrored mode is not supported. Didn't test on Windows 11.
Actual Behavior
WSL Settings writes enpty key to .wslconfig
Message on Ubuntu startup:
wsl: Invalid value '' for config key 'wsl2.networkingMode' in C:\Users\elsac\.wslconfig:7 (Valid values: mirrored, nat, none, virtioproxy)
Diagnostic Logs
No response