fix broken gce jobs

This commit is contained in:
upodroid
2025-10-13 12:49:46 +03:00
parent 42ee6dafd5
commit 0a05490e08

View File

@@ -661,7 +661,7 @@ EOF
function ensure-containerd-runtime {
# Install containerd/runc if requested
if [[ -n "${UBUNTU_INSTALL_CONTAINERD_VERSION:-}" || -n "${UBUNTU_INSTALL_RUNC_VERSION:-}" ]]; then
if [[ ( -n "${UBUNTU_INSTALL_CONTAINERD_VERSION:-}" || -n "${UBUNTU_INSTALL_RUNC_VERSION:-}" ) && "$(lsb_release -si)" == "Ubuntu" ]]; then
log-wrap "InstallContainerdUbuntu" install-containerd-ubuntu
fi
if [[ -n "${COS_INSTALL_CONTAINERD_VERSION:-}" || -n "${COS_INSTALL_RUNC_VERSION:-}" ]]; then