-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wsl): Non-English system users cannot use wsl machine
When checking if WSL is already installed, podman relies on the English string returned by WSL. However, in non-English systems, WSL will return content in the current system language (such as Chinese). To avoid this situation, we cannot simply rely on the content returned by WSL and need to manually check if the kernel exists. Signed-off-by: Kevin Cui <bh@bugs.cc>
- Loading branch information
1 parent
b8d95a5
commit 380c36f
Showing
1 changed file
with
60 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters