diskimage-builder/elements/disable-selinux/post-install.d/15-disable-selinux
Lucas Alvares Gomes 50e0512a28 Add disable-selinux element.
Having all security enabled is not always interesting, e.g. when
developing or testing new elements.

Change-Id: I828ecedc805ce4f89d60d185994eaa9c651d436a
2013-06-14 09:39:07 +01:00

3 lines
82 B
Bash
Executable file

#!/bin/bash
sed -i "s%^\(SELINUX=\s*\).*$%SELINUX=disabled%" /etc/selinux/config