<p dir="ltr"><br>
On Sep 20, 2015 11:07 AM, &quot;James Sumners&quot; &lt;<a href="mailto:james.sumners@gmail.com">james.sumners@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Sep 20, 2015 at 10:09 AM, Solomon Peachy &lt;<a href="mailto:pizza@shaftnet.org">pizza@shaftnet.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; But back to your specific points -- do you really manually type<br>
&gt;&gt; &#39;hostname blablabla&#39; on the command line to configure your system after<br>
&gt;&gt; every boot, or do you you put it in /etc/hostname and let your distro&#39;s<br>
&gt;&gt; scripts set it automatically it automatically on startup?<br>
&gt;&gt;<br>
&gt; No, but in testing RHEL7, simply putting the hostname in /etc/hostname does not work. You _must_ use hostnamectl to set the hostname. <br></p>
<p dir="ltr">???<br>
I&#39;ve not seen this behavior in any of the dozen or so centos7 systems I have deployed. The system must be rebooted after editing the /etc/hostname file as that is only read once at boot. Hostnamectl will change that file and also change the kernel param that stores the hostname. Additionally, you can use it to set a &quot;pretty&quot; name like &quot;Fred&#39;s portable game blaster&quot; complete with spaces and quotes. I don&#39;t know where the pretty name is stored but it persists across reboots.</p>
<p dir="ltr">It certainly works better than the gnome system tool that takes a FQDN and replaces the &#39;.&#39; with a &#39;-&#39;. WTF?!?!?<br>
&gt;<br>
&gt; -- <br>
&gt; James Sumners<br>
&gt; <a href="http://james.sumners.info/">http://james.sumners.info/</a> (technical profile)<br>
&gt; <a href="http://jrfom.com/">http://jrfom.com/</a> (personal site)<br>
&gt; <a href="http://haplo.bandcamp.com/">http://haplo.bandcamp.com/</a> (band page)<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>
&gt;<br>
</p>