bootstrap-rocky-8/disable-selinux.sh

5 lines
99 B
Bash
Raw Permalink Normal View History

2024-08-26 12:34:31 +03:00
#!/usr/bin/env bash
setenforce 0
sed -i -e "s@^SELINUX=.*@SELINUX=disabled@g" /etc/selinux/config