azurehpc/scripts/disable-selinux.sh

7 строки
176 B
Bash
Исходник Обычный вид История

2019-07-20 17:15:29 +03:00
#!/bin/bash
2020-03-11 17:02:31 +03:00
# set to permissive for now (until reboot)
2019-07-20 17:15:29 +03:00
setenforce 0
2020-03-11 17:02:31 +03:00
# prep to have selinux disabled after reboot
2019-07-20 17:15:29 +03:00
sed -i 's/SELINUX=.*$/SELINUX=disabled/g' /etc/selinux/config