mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
parent
b72bbbc2ea
commit
447d6aab4f
1 changed files with 3 additions and 0 deletions
|
@ -664,6 +664,9 @@ __gather_linux_system_info() {
|
|||
elif [ "${DISTRO_NAME}" = "SUSE LINUX" ]; then
|
||||
# lsb_release -si returns "SUSE LINUX" on SLES 11 SP3
|
||||
DISTRO_NAME="suse"
|
||||
elif [ "${DISTRO_NAME}" = "EnterpriseEnterpriseServer" ]; then
|
||||
# This the Oracle Linux Enterprise ID before ORACLE LINUX 5 UPDATE 3
|
||||
DISTRO_NAME="Oracle Linux"
|
||||
fi
|
||||
rv=$(lsb_release -sr)
|
||||
[ "${rv}x" != "x" ] && DISTRO_VERSION=$(__parse_version_string "$rv")
|
||||
|
|
Loading…
Add table
Reference in a new issue