Skip to content

common, hostname: Allow dots in static hostname

Felipe Borges requested to merge allow-dots-in-hostnames into main

https://www.freedesktop.org/software/systemd/man/latest/hostnamectl.html#hostname%20%5BNAME%5D

Static Hostnames can be fully qualified.

Otherwise we always replace dots with hyphens, even when the desired result is a dot separated FQDN.

Various system services expect a FQDN, such as Idm/IPA.

Related to #2918

Merge request reports