Skip to content

Set default os in WSL #92

@elahia

Description

@elahia

Hi guys,

by WSL_distribution_switcher i could install ubuntu14.04

so that by runnng:
python.exe switch.py
The following distributions are currently installed: -```

ubuntu:14.04*       
ubuntu:xenial  

Now i want to set ubuntu14.04 as the default one, but i got this error:

C:\...s\WSL-Distribution-Switcher-master\WSL-Distribution-Switcher-master>wslconfig /setdefault Ubuntu14.04       
 There is no distribution with the supplied name.                                                                                                                                                                                                

but if i try for following command :
`C:\Users\elahe\Downloads\WSL-Distribution-Switcher-master\WSL-Distribution-Switcher-master>python.exe switch.py ubuntu:14.04

[*] Probing the Linux subsystem...
[!] The ubuntu:14.04 rootfs is the current installation.`

but in WSL i got:
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial

so why i dont have ubuntu 14.04 as the defualt one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions