Hi,

I have a question regarding systemd-machined and machine metadata in the
context of containers.

I’m running containers (started via systemd-nspawn) where each container
has a unique identity represented by a private key and an X.509
certificate. The key and certificate are passed into the container using
systemd’s LoadCredential mechanism. The certificate fingerprint is the
identifier I need to use later on the host side.

What I would like to achieve is to attach this identifier as metadata to
the container’s machined registration, so that it is visible via standard
interfaces such as machinectl show.

Is there any supported or intended mechanism for a container to add or
publish metadata to its own machined entry?
Thanks

Umut

Reply via email to