Merge "Work around 20-neutron-selinux issues on F21"
This commit is contained in:
commit
56c6e07f2d
|
@ -3,6 +3,11 @@ set -eu
|
|||
|
||||
[ -x /usr/sbin/semanage ] || exit 0
|
||||
|
||||
# FIXME: Work around SELinux issues on Fedora 21
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1428784
|
||||
VERSION=`lsb_release -sr` || true
|
||||
[ $VERSION -eq 21 ] && exit 0
|
||||
|
||||
semanage fcontext -a -t neutron_var_lib_t "/mnt/state/var/lib/neutron(/.*)?"
|
||||
restorecon -Rv /mnt/state/var/lib/neutron
|
||||
|
||||
|
|
Loading…
Reference in New Issue