man: add a note about hostname to nmcli manual page

This commit is contained in:
Jiří Klimeš 2014-02-28 14:44:22 +01:00
parent 16bbc90c16
commit e3176dfa0d

View file

@ -21,7 +21,7 @@
.\"
.\" Copyright (C) 2010 - 2014 Red Hat, Inc.
.\"
.TH NMCLI "1" "25 February 2014"
.TH NMCLI "1" "28 February 2014"
.SH NAME
nmcli \- command\(hyline tool for controlling NetworkManager
@ -165,6 +165,11 @@ command is provided for \fIgeneral\fP object.
Get and change system hostname. With no arguments, this prints currently configured hostname.
When you pass a hostname, it will be handed over to NetworkManager to be set as a new system
hostname.
.br
Note that the term \fBsystem\fP hostname may also be referred to as \fBpersistent\fP or
\fBstatic\fP by other programs or tools. The hostname is stored in /etc/hostname
file in most distributions. For example, systemd-hostnamed service uses the term
\fBstatic\fP hostname and it only reads the /etc/hostname file when it starts.
.TP
.B permissions
.br