[clue] Setting FQDN on RHEL7.

David L. Willson DLWillson at TheGeek.NU
Fri Oct 23 14:54:54 MDT 2015


    
hostnamectl I think


Sent from my Verizon Wireless 4G LTE smartphone

-------- Original message --------
From: "David L. Anselmi" <anselmi at anselmi.us> 
Date: 10/23/2015  2:37 PM  (GMT-07:00) 
To: CLUE <clue at cluedenver.org> 
Subject: [clue] Setting FQDN on RHEL7. 

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
_______________________________________________
clue mailing list: clue at cluedenver.org
For information, account preferences, or to unsubscribe see:
http://cluedenver.org/mailman/listinfo/clue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20151023/c1e884dc/attachment.html 


More information about the clue mailing list