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. Change-Id: I8e4c675925cdae292c25a1e86b904fd7f618633f Closes-bug: #1857493 Co-Authored-By: Keigo Noha <knoha@redhat.com>
This commit is contained in:
parent
a49fd99690
commit
f98b9c51ce
|
@ -130,6 +130,11 @@ outputs:
|
|||
description: Role data for the Kernel modules
|
||||
value:
|
||||
service_name: kernel
|
||||
host_prep_tasks:
|
||||
- name: Remove dracut-config-generic
|
||||
yum:
|
||||
name: 'dracut-config-generic'
|
||||
state: absent
|
||||
config_settings:
|
||||
localhost_address:
|
||||
if:
|
||||
|
|
Loading…
Reference in New Issue