mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-15 08:02:31 +00:00
Merge pull request #10810 from arvindskumar99/nydus_perm_install
Skipping SNP and SEV from deploying and deleting Snapshotter
This commit is contained in:
commit
62e239ceaa
@ -444,7 +444,7 @@ function cleanup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function deploy_snapshotter() {
|
function deploy_snapshotter() {
|
||||||
if [[ "${KATA_HYPERVISOR}" == "qemu-tdx" ]]; then
|
if [[ "${KATA_HYPERVISOR}" == "qemu-tdx" || "${KATA_HYPERVISOR}" == "qemu-snp" || "${KATA_HYPERVISOR}" == "qemu-sev" ]]; then
|
||||||
echo "[Skip] ${SNAPSHOTTER} is pre-installed in the TEE machine"
|
echo "[Skip] ${SNAPSHOTTER} is pre-installed in the TEE machine"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
@ -458,7 +458,7 @@ function deploy_snapshotter() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function cleanup_snapshotter() {
|
function cleanup_snapshotter() {
|
||||||
if [[ "${KATA_HYPERVISOR}" == "qemu-tdx" ]]; then
|
if [[ "${KATA_HYPERVISOR}" == "qemu-tdx" || "${KATA_HYPERVISOR}" == "qemu-snp" || "${KATA_HYPERVISOR}" == "qemu-sev" ]]; then
|
||||||
echo "[Skip] ${SNAPSHOTTER} is pre-installed in the TEE machine"
|
echo "[Skip] ${SNAPSHOTTER} is pre-installed in the TEE machine"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user