mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-07 16:07:37 +00:00
runtime: add podman configuration to data collection script
Be more verbose about podman configuration in the output of the data collection script: get the system configuration as seen by podman and dump the configuration files when present. Fixes: #243 Signed-off-by: Francesco Giudici <fgiudici@redhat.com>
This commit is contained in:
parent
0b9bf24d05
commit
eae2159168
@ -466,6 +466,17 @@ show_container_mgr_details()
|
|||||||
subheading "$title"
|
subheading "$title"
|
||||||
run_cmd_and_show_quoted_output "" "podman --version"
|
run_cmd_and_show_quoted_output "" "podman --version"
|
||||||
|
|
||||||
|
run_cmd_and_show_quoted_output "" "podman system info"
|
||||||
|
|
||||||
|
local cmd file
|
||||||
|
|
||||||
|
for file in {/etc,/usr/share}/containers/*.{conf,json}; do
|
||||||
|
if [ -e "$file" ]; then
|
||||||
|
cmd="cat $file"
|
||||||
|
run_cmd_and_show_quoted_output "" "$cmd"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
end_section
|
end_section
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user