From cb0b47bcd48007462e95eff7217223ed1b950968 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 19 Oct 2024 00:56:51 -0400 Subject: [PATCH] chore: merge changes from digitialocean's image-check script This includes changes up to May 2, 2024 from this link: https://github.com/digitalocean/marketplace-partners/commits/master/scripts/99-img-check.sh --- contrib/images/digitalocean/in_parts/100-image-check | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/images/digitalocean/in_parts/100-image-check b/contrib/images/digitalocean/in_parts/100-image-check index 992074fd3..18d3a8109 100755 --- a/contrib/images/digitalocean/in_parts/100-image-check +++ b/contrib/images/digitalocean/in_parts/100-image-check @@ -513,6 +513,9 @@ elif [[ "$OS" =~ Debian.* ]]; then 11) osv=1 ;; + 12) + osv=1 + ;; *) osv=2 ;; @@ -538,7 +541,7 @@ elif [[ $OS == "CentOS Stream" ]]; then fi elif [[ $OS == "Rocky Linux" ]]; then ost=1 - if [[ $VER =~ 8\. ]]; then + if [[ $VER =~ 8\. ]] || [[ $VER =~ 9\. ]]; then osv=1 else osv=2