]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostname-setup: read hostname from system.hostname credential
authorIvan Shapovalov <intelfx@intelfx.name>
Sun, 7 Jan 2024 02:01:28 +0000 (03:01 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 23 Jan 2024 22:03:06 +0000 (22:03 +0000)
commita97476c8ac762a2536b2e61bc3015aff7239b575
tree66b545fd6986f95be7c315072141bb20616a0ed2
parentf70daee8f223a9c730477120dd639b298acda4d8
hostname-setup: read hostname from system.hostname credential

`system.hostname` credential is treated similarly to the pre-existing
`system.machine_id` credential. It is considered after /etc/hostname,
but prior to the kernel defaults or os-release defaults.

Fixes #30667.

Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
man/systemd.system-credentials.xml
src/shared/hostname-setup.c