From 34293dfafd2a81d80727938199769906dab321bd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 14 May 2020 11:01:31 +0200 Subject: core: allow overriding the system hostname with systemd.hostname= on the kernel command line --- man/kernel-command-line.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'man/kernel-command-line.xml') 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). + + + systemd.hostname= + + Accepts a hostname to set during early boot. If specified takes precedence over what + is set in /etc/hostname. Note that this does not bar later runtime changes to + the hostname, it simply controls the initial hostname set during early boot. + -- cgit v1.2.1