Add disable-selinux element.
Having all security enabled is not always interesting, e.g. when developing or testing new elements. Change-Id: I828ecedc805ce4f89d60d185994eaa9c651d436a
This commit is contained in:
parent
cbfd5a9a62
commit
50e0512a28
1 changed files with 3 additions and 0 deletions
3
elements/disable-selinux/post-install.d/15-disable-selinux
Executable file
3
elements/disable-selinux/post-install.d/15-disable-selinux
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
sed -i "s%^\(SELINUX=\s*\).*$%SELINUX=disabled%" /etc/selinux/config
|
Loading…
Reference in a new issue