summaryrefslogtreecommitdiff
path: root/man/kernel-command-line.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-05-14 11:01:31 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-18 20:20:50 +0200
commit34293dfafd2a81d80727938199769906dab321bd (patch)
tree3c2305f377988027affe3c184cd36a15ccfd7d9a /man/kernel-command-line.xml
parent3753325bef425f54928cee8f4ac06c7833e8dc77 (diff)
downloadsystemd-34293dfafd2a81d80727938199769906dab321bd.tar.gz
core: allow overriding the system hostname with systemd.hostname= on the kernel command line
Diffstat (limited to 'man/kernel-command-line.xml')
-rw-r--r--man/kernel-command-line.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml
index fd49b65a8d..0f2972a0b6 100644
--- a/man/kernel-command-line.xml
+++ b/man/kernel-command-line.xml
@@ -467,6 +467,14 @@
system clock to. The system time is set to the specified timestamp early during
boot. It is not propagated to the hardware clock (RTC).</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><varname>systemd.hostname=</varname></term>
+
+ <listitem><para>Accepts a hostname to set during early boot. If specified takes precedence over what
+ is set in <filename>/etc/hostname</filename>. Note that this does not bar later runtime changes to
+ the hostname, it simply controls the initial hostname set during early boot.</para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>