#!/bin/bash

sudo yum -y 
sudo yum install -y docker unzip

sudo /bin/systemctl start docker.service

sudo setenforce Permissive
sudo echo 'SELINUX=disabled' >> /etc/sysconfig/selinux

sudo mkdir -p /root/.ssh/
sudo cat /vagrant_shared/id_rsa.pub >> /root/.ssh/authorized_keys

exit 0

#!/bin/bash

sudo yum -y 

sudo yum install -y docker unzip

sudo /bin/systemctl start docker.service

sudo mkdir -p /root/.ssh/

sudo cat /vagrant_shared/id_rsa.pub >> /root/.ssh/authorized_keys

exit 0

--- 
+++ 
@@ -1,13 +1,14 @@
 #!/bin/bash
 
 sudo yum -y 
-
 sudo yum install -y docker unzip
 
 sudo /bin/systemctl start docker.service
 
+sudo setenforce Permissive
+sudo echo 'SELINUX=disabled' >> /etc/sysconfig/selinux
+
 sudo mkdir -p /root/.ssh/
-
 sudo cat /vagrant_shared/id_rsa.pub >> /root/.ssh/authorized_keys
 
 exit 0
Disable selinux for DCOS installer
