Security-Enhanced Linux (SELinux) on the hypervisor must
be disabled or the permissions must be set up correctly.
- To set SELinux to permissive, type the following command:
sed -i s/^SELINUX=.*$/SELINUX=permissive/ /etc/selinux/config
setenforce 0
- To set SELinux to disabled, type the following command:
sed -i s/^SELINUX=.*$/SELINUX=disabled/ /etc/selinux/config
- After you run a command, restart the system to save the
changes permanently.
- After you restart the system, you can use the getenforce command
to see the SELinux status.