From 6fff93cda4268efd857f4842586eb45171c148b4 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Tue, 28 Jan 2020 15:42:48 -0500 Subject: [PATCH] Prevent SELinux enforcing --- Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 809b55c..b79887c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,6 +14,10 @@ Vagrant.configure("2") do |config| config.vm.provision "shell", inline: <<-SHELL + # Set SELinux to permissive + setenforce 0 + sed -i "s/SELINUX=enforcing/SELINUX=permissive/g" /etc/selinux/config + # Import GPG keys curl -s https://download.docker.com/linux/centos/gpg -o docker-key rpm --import docker-key /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7