Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

duplicate wsl distro

You first must export the WSL distribution you wish to clone.

1. wsl.exe --export OriginalDistributionName FileName.tar

You must now import the distribution you just cloned with the following command:

2. wsl.exe --import ClonedDistributionName InstallLocation FileName.tar

You can start the cloned distribution by running the following command:

3. wsl --distribution ClonedDistributionName
 
PREVIOUS NEXT
Tagged: #duplicate #wsl #distro
ADD COMMENT
Topic
Name
1+9 =