Closed sathyank closed 2 years ago
I'm getting the above error when try launching the wsl after the installation
Please use wsl -c bash
to access the container and redownload a new copy of https://raw.githubusercontent.com/diddledani/one-script-wsl2-systemd/build-21286%2B/src/00-wsl2-systemd.sh, which should fix your issue with SLES.
You might also want to either add your user to the sudo
group or change %sudo
to %users
in /etc/sudoers.d/wsl2-systemd
Please use
wsl -c bash
to access the container and redownload a new copy of https://raw.githubusercontent.com/diddledani/one-script-wsl2-systemd/build-21286%2B/src/00-wsl2-systemd.sh, which should fix your issue with SLES.
wsl -c bash not launching the wsl terminal . any other command for that?
try it without the -c
:
wsl bash
Thanks a lot, it worked!!! Sorry for the late reply. One more help if possible. any idea how to change IP of my wsl?
Hi, MS doesn't provide the ability to change WSL IP addresses
My distribution is SLES-15-SP1 and I followed the minimal manual installation. After the installation, wsl distros is not starting. But the wsl is running able to interact with it via cmd/powershell but not able to launch it separately. I'm able to see the systemd and its related processes running. Please help