machine: report additional release info

Report information contained within a linux distribution's
release file if it exists.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2021-12-20 16:58:21 -05:00
parent 1333413db7
commit 3e70e4b4ce
1 changed files with 1 additions and 0 deletions

View File

@ -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] = {