Skip to content

wsl --install --from-file always install in WSL 2 #12298

@crramirez

Description

@crramirez

Windows Version

Microsoft Windows [Version 10.0.26100.2033]

WSL Version

2.4.4

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

wsl --set-default-version 1
wsl --install --from-file '.\distro.tar.gz'
wsl --list --verbose

Image

Expected Behavior

the distro should be in WSL1

Actual Behavior

The distro was created in WSL2 regardless of the default version

Diagnostic Logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions