[Suggestion] Distrobox should not rely on hostname length limit
Is your feature request related to a problem? Please describe. Bazzite limits the length of the hostname due to the distrobox limitation. Now I can't use Bazzite on systems where I have to comply with a specific hostname policy. I also would like to use distrobox on those machines.
Describe the solution you'd like I would like some kind of workaround for the hostname length problem instead of having it just refuse. For example, using a hash of the hostname instead of just appending it.
Describe alternatives you've considered Using other distributions and tools on machines where hostname policies are mandatory.
Additional context https://github.com/89luca89/distrobox/issues/1017 https://docs.bazzite.gg/General/FAQ/?h=hostname#can-i-change-the-hostname-of-my-device https://github.com/ublue-os/bazzite/issues/1718
Source: 89luca89/distrobox