From 6db7027e975029bc8c50fef958452d502620edea Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 27 Sep 2018 12:45:01 -0500 Subject: Add buildah version and distribution to info For the sake of debug and problem reporting, we would benefit from knowing what buildah version was vendored into podman. Also, knowing the distribution and distribution version would also be handy. Signed-off-by: baude --- cmd/podman/varlink/io.podman.varlink | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cmd') diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink index 3cc24249d..810f757ca 100644 --- a/cmd/podman/varlink/io.podman.varlink +++ b/cmd/podman/varlink/io.podman.varlink @@ -124,8 +124,16 @@ type ContainerNameSpace ( ipc: string ) +# InfoDistribution describes the the host's distribution +type InfoDistribution ( + distribution: string, + version: string +) + # InfoHost describes the host stats portion of PodmanInfo type InfoHost ( + buildah_version: string, + distribution: InfoDistribution, mem_free: int, mem_total: int, swap_free: int, -- cgit v1.2.3-54-g00ecf