…the minimal amount of information we need to talk to the local IMDS server. This looks like this:
https://github.com/systemd/systemd/blob/main/hwdb.d/40-imds.hwdb
This delivers two things: first of all we auto-detect whether we run in a suitable cloud, and secondly we immediately know enough to talk to IMDS in a generic fashion: the code has no understanding of any idiosyncrasies of the various clouds, only the hwdb has.
There's now a "systemd-imds-generator" which runs early at boot and detects…