Install openstack-selinux on RHEL
The openstack-selinux package contains policy updates for OpenStack. Updates are accrued in openstack-selinux before they are merged into the upstream selinux-policy package. Change-Id: I7c00e5cae17489202fe7aee3e656fca27ab630ba
This commit is contained in:
parent
dbc60e8942
commit
8baf819b08
1 changed files with 10 additions and 0 deletions
10
elements/rhel-common/install.d/10-openstack-selinux-rhel
Executable file
10
elements/rhel-common/install.d/10-openstack-selinux-rhel
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/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
|
Loading…
Reference in a new issue