Merge "Turn selinux back on after cloud-init"

This commit is contained in:
Jenkins 2016-02-15 23:07:38 +00:00 committed by Gerrit Code Review
commit fa7e2f0482
5 changed files with 6 additions and 8 deletions

View File

@ -2,7 +2,3 @@
#!/bin/sh
setenforce 0
sed -i '
/^SELINUX=/ s/=.*/=permissive/
' /etc/selinux/config

View File

@ -9,3 +9,5 @@ for service in etcd docker kube-apiserver kubelet; do
systemctl enable $service
systemctl --no-block start $service
done
setenforce 1

View File

@ -15,3 +15,5 @@ for service in docker kubelet; do
systemctl enable $service
systemctl --no-block start $service
done
setenforce 1

View File

@ -2,7 +2,3 @@
#!/bin/sh
setenforce 0
sed -i '
/^SELINUX=/ s/=.*/=permissive/
' /etc/selinux/config

View File

@ -7,3 +7,5 @@ for service in $NODE_SERVICES; do
systemctl enable $service
systemctl --no-block start $service
done
setenforce 1