mbl-35 / wslctl

Provide a single command wslctl to create, backup and manage WSL (Windows Subsystem for Linux) instances on a windows host
0 stars 1 forks source link

[bug] wsl host name truncated #20

Closed mbl-35 closed 2 years ago

mbl-35 commented 2 years ago

when no specific distribution name is given at creation time, the generated wsl instance hostname is truncates. E.g.

wslctl create srsrns/k8s-22.04.1.2

Will produce a wsl instance with hostname k8s-22

Change behavior by replacing dot chars with '-' char for host name.

mbl-35 commented 2 years ago

do not include version in the non specified target wslname