diskimage-builder/elements/rhel-common/install.d/10-openstack-selinux-rhel

11 lines
231 B
Text
Raw Normal View History

#!/bin/bash
# Install openstack-selinux if it is available
# dib-lint: disable=sete
set -ux
set -o pipefail
HAS_PACKAGE=$(yum list | grep openstack-selinux)
if [ -n "$HAS_PACKAGE" ]; then
install-packages openstack-selinux
fi