Force SELinux to be in permissive mode

The Fedora based ramdisk is outright broken with SELinux enforcing.
TripleO actually ships its ramdisks with selinux-permissive, let's
do the same.

Change-Id: Icfec4b8109a0ddefeb0f200c3fd1f1e2de104839
This commit is contained in:
Dmitry Tantsur 2020-11-02 10:49:22 +01:00
parent adf9a76ecd
commit 5eebab3fc1
3 changed files with 8 additions and 2 deletions

View File

@ -6,5 +6,6 @@ package-installs
pip-and-virtualenv
pkg-map
runtime-ssh-host-keys
selinux-permissive
source-repositories
svc-map

View File

@ -123,8 +123,7 @@ The *dynamic-login* element allows the operator to inject an SSH key at boot
time via the kernel command line parameters:
* Add ``sshkey="ssh-rsa <your public key here>"`` to ``pxe_append_params``
setting in the ``ironic.conf`` file. Disabling SELinux is required for
systems where it is enabled, it can be done with ``selinux=0``.
setting in the ``ironic.conf`` file.
.. warning:: Quotation marks around the public key are important!

View File

@ -0,0 +1,6 @@
---
fixes:
- |
The DIB-based ramdisk is now always built with SELinux set to permissive.
Enabling SELinux may result in broken ramdisks and does not make much
sense for IPA anyway.