Remove dracut-config-generic package
In LP#1830574, we introduce the dracut command to include necessary
file into initramfs. However, dracut in RHEL or CentOS doesn't include
sysctl.conf or other specific module related confs at an installation
of new kernel if dracut-config-generic package exists on the system.
We should remove the package to allow creating a host-specific initramfs
at an installation of new kernel.
Closes-bug: #1857493
Change-Id: Ib57f9f4c71c0da3b2c28ef17c1c8792711f9973c
Co-Authored-By: Keigo Noha <knoha@redhat.com>
(cherry picked from commit 4586da96b4
)
This commit is contained in:
parent
67f5ca4697
commit
b48ed8c834
|
@ -27,6 +27,11 @@
|
|||
loop: "{{ tripleo_kernel_extra_packages | dict2items(key_name='key', value_name='opt') }}"
|
||||
notify: Modules reload
|
||||
|
||||
- name: Remove dracut-config-generic
|
||||
package:
|
||||
name: 'dracut-config-generic'
|
||||
state: absent
|
||||
|
||||
- name: Ensure the /etc/modules-load.d/ directory exists
|
||||
file:
|
||||
path: /etc/modules-load.d
|
||||
|
|
Loading…
Reference in New Issue