mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Red Hat versions lower than 5 are no longer supported.
This commit is contained in:
parent
457eed894c
commit
8bb6fd79dc
1 changed files with 10 additions and 0 deletions
|
@ -1048,6 +1048,16 @@ __check_end_of_life_versions() {
|
|||
fi
|
||||
;;
|
||||
|
||||
red_hat*linux)
|
||||
# Red Hat (Enterprise) Linux versions lower than 5 are no longer supported
|
||||
if [ $DISTRO_MAJOR_VERSION -lt 5 ]; 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/"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue