Merge "Set selinux to permissive in Vagrant"

This commit is contained in:
Jenkins 2016-01-04 11:08:14 +00:00 committed by Gerrit Code Review
commit 63f0794851

View File

@ -91,6 +91,10 @@ function configure_operator {
su - vagrant sh -c "echo BUILDFLAGS=\\\"--build-env=http_proxy=$http_proxy --build-env=https_proxy=$https_proxy\\\" > ~/kolla/.buildconf"
fi
# Set selinux to permissive
sed -i -r "s,^SELINUX=.+$,SELINUX=permissive," /etc/selinux/config
setenforce permissive
cp -r ~vagrant/kolla/etc/kolla/ /etc/kolla
mkdir -p /usr/share/kolla
chown -R vagrant: /etc/kolla /usr/share/kolla