Browse Source

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>
changes/25/704825/1
Daniel Bengtsson 3 weeks ago
parent
commit
f98b9c51ce
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      deployment/kernel/kernel-baremetal-puppet.yaml

+ 5
- 0
deployment/kernel/kernel-baremetal-puppet.yaml View File

@@ -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…
Cancel
Save