Hostnamectl: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:


=Overview=
=Overview=
=Change the Host Name=
The preferred way to change a host name is with <tt>hostnamectl</tt> as follows:
<pre>
</pre>


=Setting the Name=
=Setting the Name=

Revision as of 01:58, 4 April 2017

External

Internal

Overview

Change the Host Name

The preferred way to change a host name is with hostnamectl as follows:



Setting the Name

hostnamectl [--static|--pretty|--transient] set-hostname blah