- can override settings by edit "/etc/wsl.conf"
- normally this file is not exists at first
$ sudo vi /etc/wsl.conf
[interop]
appendWindowsPath = false
$ exit
c:\Users\user> wsl
$ echo $PATH
[automount]
enabled = true
mountFsTab = true
root = "/mnt/"
options =
[network]
generateHosts = true
generateResolvConf = true
[interop]
enabled = true
appendWindowsPath = true
I kept the wsl.conf like 1st advised.
[interop]
appendWindowsPath = false
THEN my blond moment elapsed
Powershell 7.2 :
.\wslconfig.exe /l
Windows Subsystem for Linux Distributions:
Ubuntu-20.04 (Default)
'''
./wslconfig /t Ubuntu-20.04
But missed below. After I termiated the service, the wsl.conf file was active. Many Thanks!
The OpenWrt Buildroot Environment works like a charm.
!