mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
SuSE versions lower than 11 SP2 are also not supported
This commit is contained in:
parent
7e44200d7d
commit
a378b7aeb2
1 changed files with 11 additions and 0 deletions
|
@ -993,6 +993,17 @@ __check_end_of_life_versions() {
|
|||
fi
|
||||
;;
|
||||
|
||||
suse)
|
||||
SUSE_PATCHLEVEL=$(awk '/PATCHLEVEL/ {print $3}' /etc/SuSE-release )
|
||||
if [ "x${SUSE_PATCHLEVEL}" = "x" ]; then
|
||||
SUSE_PATCHLEVEL="00"
|
||||
fi
|
||||
if ([ $DISTRO_MAJOR_VERSION -eq 11 ] && [ $SUSE_PATCHLEVEL -lt 02 ]) || [ $DISTRO_MAJOR_VERSION -lt 11 ]; then
|
||||
echoerror "Versions lower than SuSE 11 SP2 are not supported."
|
||||
echoerror "Please consider upgrading to the next stable"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue