diff --git a/products-prepare/linux/yc-image-cleanup.sh b/products-prepare/linux/yc-image-cleanup.sh index 01746eb3..d6e4d921 100755 --- a/products-prepare/linux/yc-image-cleanup.sh +++ b/products-prepare/linux/yc-image-cleanup.sh @@ -125,7 +125,7 @@ function preCheck { "CentOS Stream") case "$2" in - "8") + "8"|"9") echo "OK" ;; *) @@ -265,7 +265,7 @@ function preCheck { "Ubuntu") case "$2" in - "14.04"|"16.04"|"18.04"|"20.04"|"22.04") + "14.04"|"16.04"|"18.04"|"20.04"|"22.04"|"24.04") echo "OK" ;; *) @@ -322,7 +322,7 @@ function definePMSType { "CentOS Stream") case "$2" in - "8") + "8"|"9") echo "dnf" ;; esac @@ -407,7 +407,7 @@ function definePMSType { "Ubuntu") case "$2" in - "14.04"|"16.04"|"18.04"|"20.04") + "14.04"|"16.04"|"18.04"|"20.04"|"22.04"|"24.04") echo "deb" ;; esac