1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-08-19 00:17:54 +00:00

runtime: Don't use hard-coded crio config

In show_container_mgr_details(), it used "cat /etc/crio/crio.conf"
instead of "crio config".

Fixes: 
Signed-off-by: Qian Cai <cai@redhat.com>
This commit is contained in:
Qian Cai 2020-09-16 08:38:54 -04:00
parent 059e6426e9
commit 295f5100a3

View File

@ -433,8 +433,7 @@ show_container_mgr_details()
local cmd="systemctl show crio" local cmd="systemctl show crio"
run_cmd_and_show_quoted_output "" "$cmd" run_cmd_and_show_quoted_output "" "$cmd"
local file="/etc/crio/crio.conf" cmd="crio config"
cmd="cat $file"
run_cmd_and_show_quoted_output "" "$cmd" run_cmd_and_show_quoted_output "" "$cmd"
end_section end_section