]> git.ipfire.org Git - thirdparty/systemd.git/commit
Container interface: document exposing the host's os-release
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 22 May 2020 15:05:12 +0000 (16:05 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Tue, 23 Jun 2020 11:57:05 +0000 (12:57 +0100)
commit34e0d56ce23fcdfd264ad5e8ada58a520c23a80f
tree0254a326366ae75d36e23669dfd878ce12535d9c
parentb3b1a08a5661df87986a504722db291fa3ccc9f5
Container interface: document exposing the host's os-release

In order to allow applications to detect the host OS version or other
metadata, ask container managers to expose the os-release files as
read-only bind mounts.
For systemd-nspawn, we will also expose ID, BUILD_ID, VERSION_ID and
VARIANT_ID as lowercase environment variables prefixed by the
container_host_ string.
docs/CONTAINER_INTERFACE.md
man/os-release.xml