X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fhostnamectl.xml;h=71973fde912748ecc819e458e522ffe2cea82f47;hb=6fc27667950fe153033f0f49cb5b57e8954c3e54;hp=29914b8c8d4d646358f003f4d044a9d3c484d375;hpb=63ba209d8bc64137ff1585d5878328c93cb81b61;p=elogind.git
diff --git a/man/hostnamectl.xml b/man/hostnamectl.xml
index 29914b8c8..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 the 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.