From 447d6aab4f7b4e19a71f58345b6ef5bdd23c12af Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Tue, 15 Apr 2014 23:45:28 +0100 Subject: [PATCH] Support Oracle Linux detection before UPDATE 3 Refs #338 --- bootstrap-salt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 703c82a..fbf9583 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -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")