I just tried the following section to install rocky 9 on my windows 11 machine (AMD64), but wsl --install --from-file <path-to/Rocky-10-WSL-Base.latest.x86_64.wsl> <machine-name> doesn't seem to work for me:
PS D:\> wsl --install --from-file .\Rocky-9-WSL-Base.latest.x86_64.wsl rocky9
Arguments --from-file and --distribution can't be specified at same time.
Error code: Wsl/E_INVALIDARG