diff options
author | 2017-08-17 10:24:38 +0000 | |
---|---|---|
committer | 2017-08-17 10:24:38 +0000 | |
commit | f1c1c8a9961083151d20ab7194a85fccfea2fc5c (patch) | |
tree | 8ff2e257911a109cc7e40df3004b1052f76818c3 /bifrost | |
parent | ff84867a9067fe1d7ac00ac83e6a340785f365fa (diff) | |
parent | 969c260d284d50060f42464b454314258f995e58 (diff) |
Merge "bifrost: scripts: Disable selinux on Centos7"
Diffstat (limited to 'bifrost')
-rwxr-xr-x | bifrost/scripts/bifrost-provision.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bifrost/scripts/bifrost-provision.sh b/bifrost/scripts/bifrost-provision.sh index 2b902152..ad028070 100755 --- a/bifrost/scripts/bifrost-provision.sh +++ b/bifrost/scripts/bifrost-provision.sh @@ -94,6 +94,16 @@ for task in syntax-check list-tasks; do -e testing_user=${TESTING_USER} done +# NOTE(hwoarang): Disable selinux as we are hitting issues with it from time to +# time. Remove this when Centos7 is a proper gate on bifrost so we know that +# selinux works as expected. +if [[ -e /etc/centos-release ]]; then + echo "*************************************" + echo "WARNING: Disabling selinux on CentOS7" + echo "*************************************" + sudo setenforce 0 +fi + # Create the VMS ${ANSIBLE} ${ANSIBLE_VERBOSITY} \ -i inventory/localhost \ |