Skip to content

Commit

Permalink
Merge pull request #360 from yandex-cloud/Auto_sync_yc-image-cleanup_…
Browse files Browse the repository at this point in the history
…2025-01-16_14-44-37

Auto sync yc-image-cleanup 2025-01-16_14-44-37
  • Loading branch information
yarkeeb authored Jan 16, 2025
2 parents f2031a0 + 1a4c054 commit 8416951
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions products-prepare/linux/yc-image-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,17 @@ function preCheck {
esac
;;

"Amazon Linux")
case "$2" in
"2023")
echo "OK"
;;
*)
echo "FAIL"
;;
esac
;;

"Astra Linux")
case "$2" in
1.*)
Expand Down Expand Up @@ -336,6 +347,14 @@ function definePMSType {
esac
;;

"Amazon Linux")
case "$2" in
"2023")
echo "dnf"
;;
esac
;;

"CentOS Linux")
case "$2" in
"6"|"7")
Expand Down

0 comments on commit 8416951

Please sign in to comment.