From 386a523a05b3baeaedaa2815e2bb6badcc0967a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 8 Jul 2022 12:33:30 +0200 Subject: [PATCH] kata-deploy: Pass the config path to CRI-O MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As we're already doing for containerd, let's also pass the configuration path to CRI-O, as all the supported CRI-O versions do support this configuration option. Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/kata-deploy/scripts/kata-deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/packaging/kata-deploy/scripts/kata-deploy.sh b/tools/packaging/kata-deploy/scripts/kata-deploy.sh index 1bd51f4e28..9bb0275f96 100755 --- a/tools/packaging/kata-deploy/scripts/kata-deploy.sh +++ b/tools/packaging/kata-deploy/scripts/kata-deploy.sh @@ -129,12 +129,15 @@ function cleanup_different_shims_base() { function configure_crio_runtime() { local runtime="kata" + local configuration="configuration" if [ -n "${1-}" ]; then runtime+="-$1" + configuration+="-$1" fi local kata_path="/usr/local/bin/containerd-shim-${runtime}-v2" local kata_conf="crio.runtime.runtimes.${runtime}" + local kata_config_path="/opt/kata/share/defaults/kata-containers/$configuration.toml" cat <