[train-only] Ensure obsolete module nf_conntrack_proto_sctp is not loaded

We need to remove /etc/modules-load.d/nf_conntrack_proto_sctp.conf before
rebooting the nodes. This is workaround for change that was imported into
stable/queens(OSP13) by updating puppet module kmod. It's better if we
fix it this way instead of fixing the older release.

Resolves: rhbz#1880979
Change-Id: Idd8691facd58293d6273eabb35bc87827a011287
This commit is contained in:
Lukas Bezdicka 2020-09-21 21:20:39 +02:00
parent c6ef0f2ace
commit 205957a8eb
1 changed files with 4 additions and 0 deletions

View File

@ -239,6 +239,10 @@ outputs:
- '' - ''
- - "#!/bin/bash\n\n" - - "#!/bin/bash\n\n"
- {get_param: LeappInitCommand} - {get_param: LeappInitCommand}
- name: Remove obsolete nf_conntrack_proto_sctp from /etc/modules-load.d/
file:
path: /etc/modules-load.d/nf_conntrack_proto_sctp.conf
state: absent
- name: "add packages into Leapp's to_remove file" - name: "add packages into Leapp's to_remove file"
vars: vars:
pkg_to_remove: { get_param: UpgradeLeappToRemove } pkg_to_remove: { get_param: UpgradeLeappToRemove }