Merge "Install openstack-selinux on RHEL"
This commit is contained in:
commit
07f11be024
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 New Issue
Block a user