mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 14:54:19 +01:00
Merge pull request #718 from fgiudici/podman_data_collection_script
runtime: add podman configuration to data collection script
This commit is contained in:
@@ -466,6 +466,17 @@ show_container_mgr_details()
|
||||
subheading "$title"
|
||||
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
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user