mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
SLES 11 SP3 support added to bootstrap script
Needed to tweak the script because of lsb_release output changed to 'SUSE LINUX' instead of 'SUSE'
This commit is contained in:
parent
060b49045b
commit
f6f1753eb7
1 changed files with 4 additions and 0 deletions
|
@ -572,6 +572,10 @@ __gather_linux_system_info() {
|
|||
# lsb_release -si returns "openSUSE project" on openSUSE 12.3
|
||||
DISTRO_NAME="opensuse"
|
||||
fi
|
||||
if [ "${DISTRO_NAME}" = "SUSE LINUX" ]; then
|
||||
# lsb_release -si returns "SUSE LINUX" on SLES 11 SP3
|
||||
DISTRO_NAME="suse"
|
||||
fi
|
||||
rv=$(lsb_release -sr)
|
||||
[ "${rv}x" != "x" ] && DISTRO_VERSION=$(__parse_version_string "$rv")
|
||||
elif [ -f /etc/lsb-release ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue