X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fhostnamectl.xml;h=71973fde912748ecc819e458e522ffe2cea82f47;hb=ed942a9eb22d50f667909ad6184b45015d28d054;hp=b39fb5502bdd90bcbbe73c6c73502acce1a4f251;hpb=960787ae27af395c28fb1ce9de5a575ebfb27a4d;p=elogind.git
diff --git a/man/hostnamectl.xml b/man/hostnamectl.xml
index b39fb5502..71973fde9 100644
--- a/man/hostnamectl.xml
+++ b/man/hostnamectl.xml
@@ -21,7 +21,8 @@
along with systemd; If not, see .
-->
-
+hostnamectl
@@ -68,11 +69,9 @@
(e.g. "Lennart's Laptop"), the static hostname which
is used to initialize the kernel hostname at boot
(e.g. "lennarts-laptop"), and the transient hostname
- which might be assigned temporarily due to network
- configuration and might revert back to the static
- hostname if network connectivity is lost and is only
- temporarily written to the kernel hostname
- (e.g. "dhcp-47-11").
+ which is a default received from network configuration.
+ If a static hostname is set, and is valid (something other
+ than localhost), then the transient hostname is not used.
Note that the pretty hostname has little
restrictions on the characters used, while the static
@@ -94,21 +93,6 @@
The following options are understood:
-
-
-
-
- Prints a short help
- text and exits.
-
-
-
-
-
- Prints a short version
- string and exits.
-
-
@@ -125,18 +109,6 @@
before executing the operation.
-
-
-
-
- Execute the operation
- remotely. Specify a hostname, or
- username and hostname separated by @,
- to connect to. This will use SSH to
- talk to a remote
- system.
-
-
@@ -158,6 +130,11 @@
hostnames will be updated.
+
+
+
+
+ The following commands are understood:
@@ -255,7 +232,7 @@
Exit status
- On success 0 is returned, a non-zero failure
+ On success, 0 is returned, a non-zero failure
code otherwise.