531841d38d
Enable the swift_can_network SELinux boolean to allow swift access to ephemeral ports. Change-Id: Ib7289929093f03ad39bb0aaa8e75f7e0842a9f5f Closes-Bug: 1375526
10 lines
205 B
Bash
Executable File
10 lines
205 B
Bash
Executable File
#!/bin/bash
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
# Allow swift access to ephemeral ports
|
|
# https://bugs.launchpad.net/tripleo/+bug/1375526
|
|
if [[ -x /usr/sbin/semanage ]]; then
|
|
setsebool -P swift_can_network 1
|
|
fi
|