[clue] Setting FQDN on RHEL7.

David L. Anselmi anselmi at anselmi.us
Tue Oct 27 12:05:53 MDT 2015


Charles Burton wrote:
> Yeah, in RHEL7 the recommended method is:
>
> hostnamectl set-hostname<fqdn>

So when I do that the fqdn goes in /etc/hostname.  And then

hostname --fqdn
hostname

both return the same thing.  That doesn't seem right, but maybe it is.

I'll try looking at the network related settings (hosts and network) again if I get a chance.

Dave


More information about the clue mailing list