i followed the steps (Import Rocky Linux to WSL with WSL and rinse - Rocky Linux Documentation) but didn’t work very well.
still getting below error,
Unable to detect release version (use ‘–releasever’ to specify release version)
Failed loading plugin “needs_restarting”: No module named 'dbus’
Error: There are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d”.
This on Windows 10. WSL 2.0 with Ubuntu as base machine to create image