mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +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: #736 Signed-off-by: Qian Cai <cai@redhat.com>
This commit is contained in:
parent
059e6426e9
commit
295f5100a3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user