Skip to content

coordinating default hostname with other Fedora editions #902

@dustymabe

Description

@dustymabe

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:

  1. remove the DEFAULT_HOSTNAME=localhost entry, default hostname reverts to fedora
  2. keep this DEFAULT_HOSTNAME=localhost delta forever only in FCOS (not ideal)
  3. convince a subset of Fedora editions to change (non workstation use cases)
  4. 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.

Metadata

Metadata

Assignees

Labels

F37jirafor syncing to jira

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions