utils: Make kata-manager.sh runs checks

Updated the `kata-manager.sh` script to make it run all the checks on
the host system before attempting to create a container. If any checks
fail, they will indicate to the user what the problem is in a clearer
manner than those reported by the container manager.

Fixes: #6281.

Signed-off-by: tg5788re <jfokugas@gmail.com>
This commit is contained in:
tg5788re 2023-03-03 09:56:12 -06:00
parent 60bb9d114a
commit f8e44172f6

View File

@ -638,6 +638,8 @@ test_installation()
{
info "Testing $kata_project\n"
sudo kata-runtime check -v
local image="docker.io/library/busybox:latest"
sudo ctr image pull "$image"