Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check to the Linux pre-flights to prevent installation on WSL2 #2131

Closed
gbraad opened this issue Mar 21, 2021 · 0 comments · Fixed by #2323
Closed

Add check to the Linux pre-flights to prevent installation on WSL2 #2131

gbraad opened this issue Mar 21, 2021 · 0 comments · Fixed by #2323
Assignees

Comments

@gbraad
Copy link
Contributor

gbraad commented Mar 21, 2021

as per #374 (comment) and other reports I have noticed people try to install CRC inside the WSL2 environment; this is unsupported from the nested virtualization perspective, but also not recommended.

Since they run WSL2, Hyper-V is installed and working, so a native installation will certainly work.

@gbraad gbraad self-assigned this Mar 21, 2021
gbraad added a commit to gbraad-redhat/crc that referenced this issue May 10, 2021
This check looks at the kernel version string and determines if a
Microsoft compiled kernel is used, as is the case with WSL2. This is to
prevent a setup that uses Nested Virtualization.
@gbraad gbraad linked a pull request May 10, 2021 that will close this issue
gbraad added a commit to gbraad-redhat/crc that referenced this issue May 10, 2021
This check looks at the kernel version string and determines if a
Microsoft compiled kernel is used, as is the case with WSL2. This is to
prevent a setup that uses Nested Virtualization.
gbraad added a commit to gbraad-redhat/crc that referenced this issue May 10, 2021
This check looks at the kernel version string and determines if a
Microsoft compiled kernel is used, as is the case with WSL2. This is to
prevent a setup that uses Nested Virtualization.
gbraad added a commit to gbraad-redhat/crc that referenced this issue May 10, 2021
This check looks at the kernel version string and determines if a
Microsoft compiled kernel is used, as is the case with WSL2. This is to
prevent a setup that uses Nested Virtualization.
gbraad added a commit to gbraad-redhat/crc that referenced this issue May 11, 2021
This check looks at the kernel version string and determines if a
Microsoft compiled kernel is used, as is the case with WSL2. This is to
prevent a setup that uses Nested Virtualization.
praveenkumar pushed a commit that referenced this issue May 11, 2021
This check looks at the kernel version string and determines if a
Microsoft compiled kernel is used, as is the case with WSL2. This is to
prevent a setup that uses Nested Virtualization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant