Hey, lazy web. Together with AWS and Microsoft, we are working on adding some minimal, native IMDS support to systemd, given how ubiquitous the concept is in the cloud world these days. It's supposed to be fully automatic, and reasonably generic. i.e. all the cloud-specific info (i.e. how to detect the clouds, which URLs to use) are placed in systemd's hwdb database, so that the code itself can be kept generic.

Right now the PR I prepped for this supports 5 major clouds. And I need your help…

…to cover more.

The current definitions are here:

https://github.com/systemd/systemd/pull/40980/files#diff-e645a84b0f883f07f110bdf41470bad564f610e396aa163f539ee0fbb6360651

If you know the hwdb concept a bit, and have a look at the comments in the file, you'll be able to figure out which data I need based on this I am sure.

Please paste data you found as a comment in the PR, but please keep the noise level down: please check if someone else provided the data for your cloud of choice already. (Or in other words, don't make me regret I asked for help here ;-)) Thank you!

Basic IMDS support by poettering · Pull Request #40980 · systemd/systemd

This adds a new cloud IMDS client, that can cover AWS, Azure, GCP, Hetzner imds to varying degrees. Each cloud has this and it's very basic functionality, hence I think it makes sense to add th...

GitHub
@pid_eins do your f job, we're not here to help microsoft and aws for free.
@f4grx @pid_eins IDK, it's probably in the best interest of companies with big deployments in AWS or Azure to help out
@michelin @f4grx @pid_eins moreover, the question is to help cover more, beyond the five major cloud platforms already in the PR
@f4grx (moving to DM) yeah, it seems he's more interested in this than fixing the TPM2 code that he introduced in 260 that literally prevents systems from booting if your TPM2 vendor is a little quirky

@pid_eins cloud-init metadata should be somehow uniform no? OVH/OpenStack and Proxmox VE will most likely use the same keys for basic stuff.

You may be sorry for asking, because your wording and displayed allegiance to MS/AWS is quite irritating.

@Gilou no it's not uniform at all. That's why I am asking for this.