distro_name changed from test to name + image_path updated

This commit is contained in:
Roger Sikorski 2022-09-26 19:29:43 +02:00
parent 59d7fab8c0
commit 29c691d083
Signed by: RogerSik
GPG Key ID: 207958C85208EAC4

View File

@ -1,4 +1,4 @@
[string]$image_path="C:\Users\roger\wsl-backup\2022-08-28.tar" [string]$distro_name="Ubuntu-22.04"
[string]$distro_name="test" [string]$image_path="C:\Users\roger\SynologyDrive\Archiv\Backups\WSL\$distro_name.tar"
wsl --import $distro_name "C:\Users\$env:UserName\AppData\Local\Packages\" $image_path --version 2 wsl --import $distro_name "C:\Users\$env:UserName\AppData\Local\Packages\" $image_path --version 2