#!/bin/sh
version=$(rpm -q --qf '%{version}' system-release)
cat << EOF
===============================================================
WARNING: YOU ARE RUNNING AN END OF LIFE VERSION OF AMAZON LINUX
===============================================================
, #_ WARNING: EoL
~\_ ####_
~~ \_#####\\ End of Life
~~ \###| Amazon Linux 1 (AL AMI $version)
~~ \#/ ___
~~ V~' '-> On 2023-12-31, AL1 reached End of Life.
~~~ /
~~._. _/ Newer Amazon Linux versions are:
_/ _/ - Amazon Linux 2023, supported until 2028-03-15
_/m/' https://aws.amazon.com/linux/amazon-linux-2023/
- Amazon Linux 2, supported until 2025-06-30
https://aws.amazon.com/amazon-linux-2/
Thanks for using https://aws.amazon.com/amazon-linux-ami/
===============================================================
WARNING: YOU ARE RUNNING AN END OF LIFE VERSION OF AMAZON LINUX
===============================================================
EOF
logger -p auth.alert This version of Amazon Linux is End of Life as of 2023-12-31
@KyuuKazami