Open garrett opened 3 years ago
Solution would be to use a dash, at least for the hostname. I'm not sure how much influence Cockpit has on the automatic scripts, however. Cockpit could pass a dash for installation and still use an underscore itself for the name and/or disk, for example.
It's a bit hard to know what are the allowed hostnames for each OS. I find that this is the kind of issue that we can agree it's a WONTFIX, and the users who will take the steps described above, will just realize from the installer errors what are the valid names.
Same problem on Fedora as on Ubuntu, with a similar fix suggested (sanitation of names; using a dash instead of underscore). https://github.com/cockpit-project/cockpit-machines/issues/919
Failure screen:
Context:
This may happen with other distros, most likely Debian as well. Unsure if it happens with Fedora/CentOS/RHEL or others.