New feature to set alias when I'm installing a new distro like a "--alias" param
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
I would like to able run multiples Ubuntu with same release version. But, the names are equal. I should be able to decide which distro run based to an alias.
For example:
```shell
$ wsl --install -d Ubuntu-20.04 --alias ExperimentalUbuntu
$ wsl --install -d Ubuntu-20.04 --alias MainUbuntu
$ wsl --list
Distribuições do Subsistema do Windows para Linux:
MainUbuntu Ubuntu-20.04 (Padrão)
ExperimentalUbuntu Ubuntu-20.04
```
I tried to find out how I can rename, but I need to deep diving in Registry Editor. Probably not recommended way
Contributor guide
Research direction
Start by tracing the `wsl --install` command and how installed distributions are registered and displayed by `wsl --list`. Use the requested examples to define the expected alias behavior, including multiple Ubuntu-20.04 installations, and verify that aliases are accepted and shown distinctly without relying on Registry Editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100