mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-15 17:20:20 +00:00
Declare End-of-Life for RHEL 5 and its variants
This commit is contained in:
parent
104bf499f1
commit
3cfc189bd7
2 changed files with 38 additions and 7 deletions
11
README.rst
11
README.rst
|
@ -235,12 +235,13 @@ Debian and derivatives
|
|||
Red Hat family
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
- Amazon Linux
|
||||
- CentOS 5/6/7
|
||||
- Amazon Linux 2012.3 and later
|
||||
- CentOS 6/7
|
||||
- Cloud Linux 6/7
|
||||
- Fedora 23/24/25
|
||||
- Oracle Linux 5/6/7
|
||||
- Red Hat Enterprise Linux 5/6/7
|
||||
- Scientific Linux 5/6/7
|
||||
- Oracle Linux 6/7
|
||||
- Red Hat Enterprise Linux 6/7
|
||||
- Scientific Linux 6/7
|
||||
|
||||
|
||||
SUSE family
|
||||
|
|
|
@ -1840,7 +1840,7 @@ __check_end_of_life_versions() {
|
|||
|
||||
centos)
|
||||
# CentOS versions lower than 5 are no longer supported
|
||||
if [ "$DISTRO_MAJOR_VERSION" -lt 5 ]; then
|
||||
if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then
|
||||
echoerror "End of life distributions are not supported."
|
||||
echoerror "Please consider upgrading to the next stable. See:"
|
||||
echoerror " http://wiki.centos.org/Download"
|
||||
|
@ -1850,7 +1850,7 @@ __check_end_of_life_versions() {
|
|||
|
||||
red_hat*linux)
|
||||
# Red Hat (Enterprise) Linux versions lower than 5 are no longer supported
|
||||
if [ "$DISTRO_MAJOR_VERSION" -lt 5 ]; then
|
||||
if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then
|
||||
echoerror "End of life distributions are not supported."
|
||||
echoerror "Please consider upgrading to the next stable. See:"
|
||||
echoerror " https://access.redhat.com/support/policy/updates/errata/"
|
||||
|
@ -1858,6 +1858,36 @@ __check_end_of_life_versions() {
|
|||
fi
|
||||
;;
|
||||
|
||||
oracle*linux)
|
||||
# Oracle Linux versions lower than 5 are no longer supported
|
||||
if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then
|
||||
echoerror "End of life distributions are not supported."
|
||||
echoerror "Please consider upgrading to the next stable. See:"
|
||||
echoerror " http://www.oracle.com/us/support/library/elsp-lifetime-069338.pdf"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
scientific*linux)
|
||||
# Scientific Linux versions lower than 5 are no longer supported
|
||||
if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then
|
||||
echoerror "End of life distributions are not supported."
|
||||
echoerror "Please consider upgrading to the next stable. See:"
|
||||
echoerror " https://www.scientificlinux.org/downloads/sl-versions/"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
cloud*linux)
|
||||
# Cloud Linux versions lower than 5 are no longer supported
|
||||
if [ "$DISTRO_MAJOR_VERSION" -lt 6 ]; then
|
||||
echoerror "End of life distributions are not supported."
|
||||
echoerror "Please consider upgrading to the next stable. See:"
|
||||
echoerror " https://docs.cloudlinux.com/index.html?cloudlinux_life-cycle.html"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
amazon*linux*ami)
|
||||
# Amazon Linux versions lower than 2012.0X no longer supported
|
||||
if [ "$DISTRO_MAJOR_VERSION" -lt 2012 ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue