Skip to content

Commit

Permalink
Adjust selinux config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KHIT93 committed May 7, 2023
1 parent a4283a3 commit 825006a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions installer/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def setup_rhel(pkg_mgr, os_release, os_version):
print('Installing EPEL...')
os.system('{pkg} install -y epel-release'.format(pkg=PKG_MGR))
os.system("{sed} -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/sysconfig/selinux".format(sed=which('sed')))
os.system("{sed} -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config".format(sed=which('sed')))
if os_version == '7':
os.system('{pkg} install -y centos-release-scl'.format(pkg=PKG_MGR))
print('Adding GhettoForge repo...')
Expand Down

0 comments on commit 825006a

Please sign in to comment.