Back when 22.04 wasn’t supported, I spent an afternoon figuring out an unofficial setup script. Assuming there aren’t any major breaking changes between the versions, we should be able to do the same for 24.04. Just know it will be unofficial and, therefore, unsupported.
We should be able to get started by changing line 172 which you called out above to ignore distro_codename for noble .
if [[ “$distro_codename” != “focal” ]] && [[ “$distro_codename” != “jammy” ]] && [[ “$distro_codename” != “bookworm” ]] && [[ “$distro_codename” != “noble” ]]; then
If I get chance here, I’ll spin up an Ubuntu VM and try to work through it.