wsl-distrod
wsl-distrod copied to clipboard
[Feature Request] Install DistroD through script
Hello,
I don´t know if this feature is already developed but instaead of going through an .exe file and install a WSL distro step by step I find quite interesting the idea of installing the distro with something like:
install.sh --os=ubuntu
Love this idea! I was about to post a similar feature request — it'd be great to be able to pass args to the installer instead of selecting things interactively. This would allow me to use it for provisioning WSL2-enabled CI workers, for example...
Promptly looking at the source at https://github.com/nullpo-head/wsl-distrod/blob/e4aa1ea/distrod/distrod_wsl_launcher/src/main.rs#L34 suggests that it should be possible already with something like distrod-install --distro-name=fedora install
(needs to be tested, my Rust-fu is rather rusty). But yeah, it'd be great if it was documented what's possible.