> On 20 Apr 2025, at 01:44, Gabriel Somlo <gso...@gmail.com> wrote:
> 
> When I boot the machine and immediately log into it via ssh, running
> `hostname` will keep returning "fedora" for 5-10 seconds, before
> starting to return the FQDN (e.g. "FOO.EXAMPLE.COM") if I keep
> retrying the `hostname` command.

I wonder if this is user error?

On all my servers I set the FQDN using hostnamctl.

hostnamctl hostname foo.example.com --static

I always see the correct FQDN, and dhcp will allocate the ip address.

Barry

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to