From 78d3739dbec518bc81e635d5a9c19eb68530454c Mon Sep 17 00:00:00 2001 From: tengqm Date: Tue, 15 Mar 2016 23:08:00 -0400 Subject: [PATCH] Fix RHEL7 vendor detection When detecting os_VENDOR, the lsb_release output may be different from what is expected today. This patch fixes the detection. Change-Id: I850ad1acbc2397c73e7cc85c1765cba6ba2f98d4 --- functions-common | 1 + 1 file changed, 1 insertion(+) diff --git a/functions-common b/functions-common index 98768cdd50..366415b91e 100644 --- a/functions-common +++ b/functions-common @@ -440,6 +440,7 @@ function is_fedora { fi [ "$os_VENDOR" = "Fedora" ] || [ "$os_VENDOR" = "Red Hat" ] || \ + [ "$os_VENDOR" = "RedHatEnterpriseServer" ] || \ [ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleLinux" ] || \ [ "$os_VENDOR" = "Virtuozzo" ] || [ "$os_VENDOR" = "kvmibm" ] }