Merge "Turn selinux back on after cloud-init"
This commit is contained in:
commit
fa7e2f0482
@ -2,7 +2,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
setenforce 0
|
||||
|
||||
sed -i '
|
||||
/^SELINUX=/ s/=.*/=permissive/
|
||||
' /etc/selinux/config
|
||||
|
@ -9,3 +9,5 @@ for service in etcd docker kube-apiserver kubelet; do
|
||||
systemctl enable $service
|
||||
systemctl --no-block start $service
|
||||
done
|
||||
|
||||
setenforce 1
|
||||
|
@ -15,3 +15,5 @@ for service in docker kubelet; do
|
||||
systemctl enable $service
|
||||
systemctl --no-block start $service
|
||||
done
|
||||
|
||||
setenforce 1
|
||||
|
@ -2,7 +2,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
setenforce 0
|
||||
|
||||
sed -i '
|
||||
/^SELINUX=/ s/=.*/=permissive/
|
||||
' /etc/selinux/config
|
||||
|
@ -7,3 +7,5 @@ for service in $NODE_SERVICES; do
|
||||
systemctl enable $service
|
||||
systemctl --no-block start $service
|
||||
done
|
||||
|
||||
setenforce 1
|
||||
|
Loading…
Reference in New Issue
Block a user