mirror of
https://github.com/systemd/systemd.git
synced 2026-08-13 17:08:14 +00:00
Similar to the support for ?/$ in /etc/hostname and the credentials we now add this to the kernel commandline systemd.hostname= option. If the expansion fails, e.g. in the initrd where the word lists (and possibly the machine ID) are not available yet, the option is ignored and the usual default hostname logic applies. Once the host system is up the expansion succeeds and the intended name is applied.
44 KiB
44 KiB