[lxc-devel] [lxd/master] doc: Add missing os_api extension

stgraber on Github lxc-bot at linuxcontainers.org
Thu Apr 9 15:01:15 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200409/9f4dfbf0/attachment.bin>
-------------- next part --------------
From 32185a36e4122307d34a86b29ea1e6605f9b174b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 9 Apr 2020 11:00:44 -0400
Subject: [PATCH] doc: Add missing os_api extension
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 doc/api-extensions.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/api-extensions.md b/doc/api-extensions.md
index 57f30068dc..82fb120b81 100644
--- a/doc/api-extensions.md
+++ b/doc/api-extensions.md
@@ -1008,3 +1008,8 @@ different NUMA domains.
 
 ## resources\_cpu\_core\_die
 Exposes the die\_id information on each core.
+
+## api\_os
+This introduces two new fields in `/1.0`, `os` and `os\_version`.
+
+Those are taken from the os-release data on the system.


More information about the lxc-devel mailing list