mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Declare EOL for SUSE Linux Enterprise Server 12 < SP2
This commit is contained in:
parent
87d02ed00f
commit
5ba3e346fb
2 changed files with 6 additions and 3 deletions
|
@ -264,7 +264,7 @@ SUSE family
|
||||||
|
|
||||||
- openSUSE Leap 42.2/42.3
|
- openSUSE Leap 42.2/42.3
|
||||||
- openSUSE Tumbleweed 2015
|
- openSUSE Tumbleweed 2015
|
||||||
- SUSE Linux Enterprise Server 11 SP4/12
|
- SUSE Linux Enterprise Server 11 SP4/12 SP2
|
||||||
|
|
||||||
|
|
||||||
Ubuntu and derivatives
|
Ubuntu and derivatives
|
||||||
|
|
|
@ -1521,12 +1521,15 @@ __check_end_of_life_versions() {
|
||||||
# SuSE versions not supported
|
# SuSE versions not supported
|
||||||
#
|
#
|
||||||
# < 11 SP4
|
# < 11 SP4
|
||||||
|
# < 12 SP2
|
||||||
SUSE_PATCHLEVEL=$(awk '/PATCHLEVEL/ {print $3}' /etc/SuSE-release )
|
SUSE_PATCHLEVEL=$(awk '/PATCHLEVEL/ {print $3}' /etc/SuSE-release )
|
||||||
if [ "${SUSE_PATCHLEVEL}" = "" ]; then
|
if [ "${SUSE_PATCHLEVEL}" = "" ]; then
|
||||||
SUSE_PATCHLEVEL="00"
|
SUSE_PATCHLEVEL="00"
|
||||||
fi
|
fi
|
||||||
if ([ "$DISTRO_MAJOR_VERSION" -eq 11 ] && [ "$SUSE_PATCHLEVEL" -lt 04 ]) || [ "$DISTRO_MAJOR_VERSION" -lt 11 ]; then
|
if [ "$DISTRO_MAJOR_VERSION" -lt 11 ] || \
|
||||||
echoerror "Versions lower than SuSE 11 SP4 are not supported."
|
([ "$DISTRO_MAJOR_VERSION" -eq 11 ] && [ "$SUSE_PATCHLEVEL" -lt 04 ]) || \
|
||||||
|
([ "$DISTRO_MAJOR_VERSION" -eq 12 ] && [ "$SUSE_PATCHLEVEL" -lt 02 ]); then
|
||||||
|
echoerror "Versions lower than SuSE 11 SP4 or 12 SP2 are not supported."
|
||||||
echoerror "Please consider upgrading to the next stable"
|
echoerror "Please consider upgrading to the next stable"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue