move-wsl
move-wsl copied to clipboard
Batch util doesn't consider resized vdisk
Describe the bug
A clear and concise description of what the bug is.
Batch util results in default vdisk size when importing. (not tested: bash/PowerShell versions)
Please add terminal output if possible:
I had resized my vdisk using the guide here. However after running the batch utility my vdisk had resized to its default of 256M.
Script version:
- [ ] Bash
- [ ] Powershell
- [X] Batch
Under the hood the wsl --export
and wsl --import
functionality is used. I am not sure, why this increases the vdisk size again, but I think there's nothing I can do against it. I guess the only way would be to rewrite the tool, to edit the registry directly