Richard Brown 2024-09-11 11:21:19 +00:00 committed by Git OBS Bridge
parent 6f38efe3a2
commit 6582125e8e

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=enforcing|g' \
sed -i -e 's|^SELINUX=.*|SELINUX=permissive|g' \
-e 's|^SELINUXTYPE=.*|SELINUXTYPE=targeted|g' \
"/etc/selinux/config"
@ -234,4 +234,3 @@ mkdir -p /home/tik/.config/gtk-3.0
echo "file:///ignition" >> /home/tik/.config/gtk-3.0/bookmarks
sed -i 's/DISPLAYMANAGER_AUTOLOGIN=""/DISPLAYMANAGER_AUTOLOGIN="tik"/' /etc/sysconfig/displaymanager
sed -i 's/\[daemon\]/\[daemon\]\nAutomaticLoginEnable=True\nAutomaticLogin=tik/g' /etc/gdm/custom.conf