From 124c0e7af4dd08dd5bc700bbec459a03b8816963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 6 Sep 2022 16:32:28 +0200 Subject: [PATCH] kata-deploy: Fix `containerd-shim-kata-v2` location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For Confidential Containers the file is present at `/opt/confidential-containers` instead of `/opt/kata`. Fixes: #5119 Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/kata-deploy-cc/scripts/kata-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packaging/kata-deploy-cc/scripts/kata-deploy.sh b/tools/packaging/kata-deploy-cc/scripts/kata-deploy.sh index 012cf6ebb..b14887427 100755 --- a/tools/packaging/kata-deploy-cc/scripts/kata-deploy.sh +++ b/tools/packaging/kata-deploy-cc/scripts/kata-deploy.sh @@ -101,7 +101,7 @@ function configure_different_shims_base() { local shim_file="/usr/local/bin/${shim_binary}" backup_shim "${shim_file}" - ln -sf /opt/kata/bin/containerd-shim-kata-v2 "${shim_file}" + ln -sf /opt/confidential-containers/bin/containerd-shim-kata-v2 "${shim_file}" chmod +x "$shim_file" if [ "${shim}" == "${default_shim}" ]; then