wslconfig
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 09 Jun 2022 09:29:27 +0300
changeset 2535 6f7f3c2f40e1
parent 2534 f63a05c1ce4f
child 2536 4b67faf58c4b
wslconfig
wsl.rst
--- a/wsl.rst	Thu Jun 09 09:25:25 2022 +0300
+++ b/wsl.rst	Thu Jun 09 09:29:27 2022 +0300
@@ -49,6 +49,23 @@
 https://docs.microsoft.com/en-us/windows/wsl/wsl-config
   Ways to run WSL.
 
+.. note:: Earlier ``wsl`` utility was limited and some job performed by ``wslconfig`` utility:
+
+   * List distros::
+
+     wslconfig /l
+     wslconfig /list
+
+   * Set default distro::
+
+     wslconfig /s debian
+     wslconfig /setdefault debian
+
+   * Terminate any running parts of distro::
+
+     wslconfig /t debian
+     wslconfig /terminate debian
+
 Installing WSL distor second time
 =================================
 
@@ -98,24 +115,6 @@
   wget http://cdimage.ubuntu.com/ubuntu-base/releases/22.04/release/ubuntu-base-22.04-base-amd64.tar.gz
   wsl --import my-ubuntu c:\wsl\my-ubuntu ubuntu-base-22.04-base-amd64.tar.gz --version 2
 
-wslconfig utility
-=================
-
-List distros::
-
-  wslconfig /l
-  wslconfig /list
-
-Set default distro::
-
-  wslconfig /s debian
-  wslconfig /setdefault debian
-
-Terminate any running parts of distro::
-
-  wslconfig /t debian
-  wslconfig /terminate debian
-
 Mounting Windows file systems
 =============================