core: consult credentials for machine ID to use for host
authorLennart Poettering <lennart@poettering.net>
Wed, 28 Jun 2023 16:11:15 +0000 (18:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 Jul 2023 21:01:42 +0000 (23:01 +0200)
commitdeb0d489ea1e646f1600c2cfd90c9e56f25fa041
tree68efc7976aaf18097c437e554c811b0ee250080a
parentd021aa8ee372e2503e52f9897863e0dac505276a
core: consult credentials for machine ID to use for host

Let's hook up one more thing with credentials: the machine ID to use
when none is initialized yet.

This requires some reordering of initialization steps in PID 1: we need
to import credentials first, and only then initialize the machine ID.
man/systemd.system-credentials.xml
man/systemd.xml
src/core/main.c
src/shared/machine-id-setup.c