<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>
    
<div>I think hostnamectl does those things.</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757">Sent from my Verizon Wireless 4G LTE smartphone</div></div><br><br>-------- Original message --------<br>From: P B &lt;witchbutter@gmail.com&gt; <br>Date: 10/23/2015  3:14 PM  (GMT-07:00) <br>To: CLUE's mailing list &lt;clue@cluedenver.org&gt; <br>Subject: Re: [clue] Setting FQDN on RHEL7. <br><br>Modify /etc/hostname and 
restart.&nbsp; When using DHCP I also put DHCP_HOSTNAME=hostname.foo.com at 
the end of /etc/sysconfig/network-scripts/ifcfg-eno1234 or whatever 
number your interface is.<br>
<span>

</span><br>
<blockquote style="border: 0px none;" cite="mid:l52dilot78fti19jbfa7jiwb.1445633694286@email.android.com" type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
           <a moz-do-not-send="true" href="mailto:DLWillson@TheGeek.NU" style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">David L. Willson</a></div>   <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">October
 23, 2015 at 2:54 PM</span></font></div>    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" __pbrmquotes="true" class="__pbConvBody"><meta content="text/html; 
charset=UTF-8" http-equiv="Content-Type">
    
<div>hostnamectl I think</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757">Sent 
from my Verizon Wireless 4G LTE smartphone</div></div><br><br>-------- 
Original message --------<br>From: "David L. Anselmi" 
<a class="moz-txt-link-rfc2396E" href="mailto:anselmi@anselmi.us">&lt;anselmi@anselmi.us&gt;</a> <br>Date: 10/23/2015  2:37 PM  (GMT-07:00) <br>To:
 CLUE <a class="moz-txt-link-rfc2396E" href="mailto:clue@cluedenver.org">&lt;clue@cluedenver.org&gt;</a> <br>Subject: [clue] Setting FQDN on 
RHEL7. <br><br>So I have a RHEL7 machine and I want "hostname --fqdn" to
 return "foo.example.com".&nbsp; Right now it <br>just returns "foo".<br><br>Googling
 around suggested setting things in /etc/hosts or /etc/sysconfig/network
 but those don't <br>seem to work.&nbsp; Or is there something I need to 
restart after making a change?<br><br>Thanks for the help!<br><br>Dave<br>_______________________________________________<br>clue
 mailing list: <a class="moz-txt-link-abbreviated" href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>For information, account 
preferences, or to unsubscribe see:<br><a class="moz-txt-link-freetext" href="http://cluedenver.org/mailman/listinfo/clue">http://cluedenver.org/mailman/listinfo/clue</a><br><div>_______________________________________________<br>clue
 mailing list: <a class="moz-txt-link-abbreviated" href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>For information, account 
preferences, or to unsubscribe see:<br><a class="moz-txt-link-freetext" href="http://cluedenver.org/mailman/listinfo/clue">http://cluedenver.org/mailman/listinfo/clue</a></div></div>
</blockquote>
<br>
</body></html>