mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 00:46:38 +00:00
kata-deploy: Fix containerd-shim-kata-v2
location
For Confidential Containers the file is present at `/opt/confidential-containers` instead of `/opt/kata`. Fixes: #5119 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user