From 3e70e4b4cee1a9ad4673f48e138d32859492e80d Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 20 Dec 2021 16:58:21 -0500 Subject: [PATCH] machine: report additional release info Report information contained within a linux distribution's release file if it exists. Signed-off-by: Eric Callahan --- moonraker/components/machine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moonraker/components/machine.py b/moonraker/components/machine.py index 778a3fa..aa2efc1 100644 --- a/moonraker/components/machine.py +++ b/moonraker/components/machine.py @@ -48,6 +48,7 @@ class Machine: dist_info: Dict[str, Any] dist_info = {'name': distro.name(pretty=True)} dist_info.update(distro.info()) + dist_info['release_info'] = distro.distro_release_info() self.inside_container = False self.virt_id = "none" self.system_info: Dict[str, Any] = {