[clue] Setting FQDN on RHEL7.

David L. Anselmi anselmi at anselmi.us
Fri Oct 23 14:37:32 MDT 2015


So I have a RHEL7 machine and I want "hostname --fqdn" to return "foo.example.com".  Right now it 
just returns "foo".

Googling around suggested setting things in /etc/hosts or /etc/sysconfig/network but those don't 
seem to work.  Or is there something I need to restart after making a change?

Thanks for the help!

Dave


More information about the clue mailing list