Ignore sealerts in CentOS 9 too

We already disable for CentOS8, let's do for CentOS9
too for same reasons.

Removed VERSION_ID check as both supported C8 and C9
need to be ignored, and same should be there for future
CentOS releases.

Change-Id: Ie84e91a7fed16cd727e8cd9c50066617a1cb23b7
This commit is contained in:
yatinkarel 2021-05-27 18:58:08 +05:30
parent a9f3790241
commit c218b2d33f
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ function catch_selinux_alerts() {
# glance https://bugs.launchpad.net/glance/+bug/1769006
# nova https://bugs.launchpad.net/nova/+bug/1808975
# mistral https://bugs.launchpad.net/mistral/+bug/1808953
elif [ -f /etc/fedora-release ] || [[ "${ID,,}" = "centos" && ${VERSION_ID} = "8" ]]; then
elif [ -f /etc/fedora-release ] || [[ "${ID,,}" = "centos" ]]; then
echo "non ssl scenario, ignoring it now."
else
echo "Please file a bug on https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20OpenStack&component=openstack-selinux showing sealert output."