From 02517637476c52db4b859f445921cde6bce6c6d6 Mon Sep 17 00:00:00 2001 From: Ken Cochrane Date: Tue, 21 Jun 2016 09:40:00 -0400 Subject: [PATCH] Fixed issue #23787 install script not working for RHEL7 host Signed-off-by: Ken Cochrane Upstream-commit: 0e84474672fb30449028b4f7a678d5ab6a81f102 Component: engine --- components/engine/hack/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/engine/hack/install.sh b/components/engine/hack/install.sh index 34e7a72e93..00dd73c942 100644 --- a/components/engine/hack/install.sh +++ b/components/engine/hack/install.sh @@ -243,7 +243,8 @@ do_install() { lsb_dist='centos' fi if [ -z "$lsb_dist" ] && [ -r /etc/redhat-release ]; then - lsb_dist='redhat' + # we use centos for both redhat and centos releases + lsb_dist='centos' fi if [ -z "$lsb_dist" ] && [ -r /etc/os-release ]; then lsb_dist="$(. /etc/os-release && echo "$ID")"