Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit d2e2c24

Browse files
committed
add amazon linux 2023
1 parent e60e7e4 commit d2e2c24

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

products-prepare/linux/yc-image-cleanup.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,16 @@ function preCheck {
218218
;;
219219
esac
220220
;;
221-
221+
"Amazon Linux")
222+
case "$2" in
223+
"2023")
224+
echo "OK"
225+
;;
226+
*)
227+
echo "FAIL"
228+
;;
229+
esac
230+
;;
222231
"RED OS")
223232
case "$2" in
224233
"7.3")
@@ -276,6 +285,7 @@ function preCheck {
276285
*)
277286
echo "FAIL"
278287
;;
288+
279289
esac
280290
}
281291

0 commit comments

Comments
 (0)