diff --git a/data/kata-collect-data.sh.in b/data/kata-collect-data.sh.in index 5e6ddc8953..48052db7ae 100644 --- a/data/kata-collect-data.sh.in +++ b/data/kata-collect-data.sh.in @@ -672,6 +672,19 @@ read_osbuilder_file() cat "$file" } +show_details() +{ + show_meta + show_runtime + show_runtime_configs + show_throttler_details + show_image_details + show_initrd_details + show_log_details + show_container_mgr_details + show_package_versions +} + main() { args=$(getopt \ @@ -711,15 +724,7 @@ main() [ $(id -u) -eq 0 ] || die "Need to run as root" [ -n "$runtime" ] || die "cannot find runtime '$runtime_name'" - show_meta - show_runtime - show_runtime_configs - show_throttler_details - show_image_details - show_initrd_details - show_log_details - show_container_mgr_details - show_package_versions + show_details } main "$@"