Status: Open
Priority: Medium
Component: tools/wsl-manager/wsl-manager.ps1
Summary: As a user, I want wsl-manager to automatically terminate a distribution when required instead of asking me to do it manually, so that actions complete seamlessly without extra manual steps.
Description: Several wsl-manager actions (e.g., setup-docker, setup-podman, setup-user) require a distribution restart to apply wsl.conf changes. Currently some flows print a message telling the user to terminate the distro manually. The tool should handle this automatically; if an action requires a restart, it should terminate and (if needed) re-launch the distribution without user intervention.
Acceptance Criteria:
- No action prompts the user to manually terminate a distribution
- Actions that require a restart automatically terminate (and re-launch if needed) the distribution
- All existing tests continue to pass