scripts: Add containerd details to collect script

Add a new sub-section for containerd details.

Fixes #1349.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2019-03-11 14:17:36 +00:00
parent 7266d31813
commit f2a506affa

View File

@ -346,6 +346,14 @@ show_container_mgr_details()
run_cmd_and_show_quoted_output "" "cat /etc/crio/crio.conf" run_cmd_and_show_quoted_output "" "cat /etc/crio/crio.conf"
fi fi
if have_cmd "containerd"; then
subheading "containerd"
run_cmd_and_show_quoted_output "" "containerd --version"
run_cmd_and_show_quoted_output "" "systemctl show containerd"
run_cmd_and_show_quoted_output "" "cat /etc/containerd/config.toml"
fi
separator separator
} }