Back in Fedora 33 the default hostname in the Fedora ecosystem was changed to fedora from localhost. The default hostname is the hostname that gets set when no hostname information can be found from any other source:
- set manually
- DHCP
- reverse DNS lookup
At the time we decided to freeze on systemd with the fallback hostname change reverted and then later (once the feature was added) we unfroze systemd and started setting the DEFAULT_HOSTNAME in /etc/os-release to localhost.
Now (f35+) we are at a point where NetworkManager has fixed upstream to handle rDNS cases properly and Fedora CoreOS itself no longer needs the DEFAULT_HOSTNAME to be set to localhost, but maybe our users scripts/configuration/automation do need it still.
Depending on the answer to that question our options include:
- remove the
DEFAULT_HOSTNAME=localhost entry, default hostname reverts to fedora
- keep this
DEFAULT_HOSTNAME=localhost delta forever only in FCOS (not ideal)
- convince a subset of Fedora editions to change (non workstation use cases)
- convince the entirety of Fedora editions to change (not likely)
It was suggested by @jlebon that we go for 2., which I would assume we'd need to try to talk to FESCO about.
Back in Fedora 33 the default hostname in the Fedora ecosystem was changed to
fedorafromlocalhost. The default hostname is the hostname that gets set when no hostname information can be found from any other source:At the time we decided to freeze on systemd with the fallback hostname change reverted and then later (once the feature was added) we unfroze systemd and started setting the
DEFAULT_HOSTNAMEin/etc/os-releasetolocalhost.Now (f35+) we are at a point where NetworkManager has fixed upstream to handle rDNS cases properly and Fedora CoreOS itself no longer needs the
DEFAULT_HOSTNAMEto be set tolocalhost, but maybe our users scripts/configuration/automation do need it still.Depending on the answer to that question our options include:
DEFAULT_HOSTNAME=localhostentry, default hostname reverts tofedoraDEFAULT_HOSTNAME=localhostdelta forever only in FCOS (not ideal)It was suggested by @jlebon that we go for
2., which I would assume we'd need to try to talk to FESCO about.