Richard Brown 2024-09-12 12:55:29 +00:00 committed by Git OBS Bridge
parent 6582125e8e
commit 7ebbcc5615

View File

@ -147,7 +147,7 @@ fi
if [[ -e /etc/selinux/config ]]; then
cmdline+=("security=selinux selinux=1")
# Adjust selinux config
sed -i -e 's|^SELINUX=.*|SELINUX=permissive|g' \
sed -i -e 's|^SELINUX=.*|SELINUX=enforcing|g' \
-e 's|^SELINUXTYPE=.*|SELINUXTYPE=targeted|g' \
"/etc/selinux/config"