From e7c017bd8998d9cc8c4712efe992239c73f340d1 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Wed, 9 Dec 2020 23:53:12 +0000 Subject: [PATCH] fix is_fedora for centos 8 stream When deploying on the centos 8 stream variant the output of "lsb_release -i -s" is CentOSStream instead of CentOS This breaks the is_fedora function in devstack preventing package installation and removal. Change-Id: I39ccefbd06f46adf5077f8d8001f37d3b190f040 --- functions-common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions-common b/functions-common index 13749214ba..87d8c64804 100644 --- a/functions-common +++ b/functions-common @@ -452,8 +452,8 @@ function is_fedora { [ "$os_VENDOR" = "Fedora" ] || [ "$os_VENDOR" = "Red Hat" ] || \ [ "$os_VENDOR" = "RedHatEnterpriseServer" ] || \ [ "$os_VENDOR" = "RedHatEnterprise" ] || \ - [ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleServer" ] || \ - [ "$os_VENDOR" = "Virtuozzo" ] + [ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "CentOSStream" ] || \ + [ "$os_VENDOR" = "OracleServer" ] || [ "$os_VENDOR" = "Virtuozzo" ] }