kata-deploy-cc: Add QEMU support to be used with TDX

As the previous commit added a new runtime class to be used with TDX,
let's make sure this gets shipped and configured as part of the
kata-deploy-cc script, which is used by the Confidential Containers
Operator.

This commit also cleans up all the extra artefacts that will be
installed in order to run the QEMU TDX workloads.

Fixes: #4832

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2022-08-05 16:38:06 +02:00
parent 89a5faef7a
commit 0b34a8a186

View File

@ -13,6 +13,7 @@ containerd_conf_file_backup="${containerd_conf_file}.bak"
shims=(
"qemu"
"qemu-tdx"
"clh"
)
@ -186,12 +187,15 @@ function remove_artifacts() {
/opt/confidential-containers/share/defaults/kata-containers/ \
/opt/confidential-containers/share/bash-completion/completions/kata-runtime \
/opt/confidential-containers/share/kata-qemu/ \
/opt/confidential-containers/share/kata-qemu-tdx/ \
/opt/confidential-containers/share/kata-containers/ \
/opt/confidential-containers/share/tdvf/ \
/opt/confidential-containers/bin/kata-monitor \
/opt/confidential-containers/bin/containerd-shim-kata-v2 \
/opt/confidential-containers/bin/kata-runtime \
/opt/confidential-containers/bin/kata-collect-data.sh \
/opt/confidential-containers/bin/qemu-system-x86_64 \
/opt/confidential-containers/bin/qemu-system-x86_64-tdx \
/opt/confidential-containers/bin/cloud-hypervisor
}