rhel9 kernel version lock

This commit is contained in:
2024-11-19 16:48:19 +01:00
parent 19423d4426
commit 8dbbbad973
@@ -122,10 +122,14 @@ for every package you do not wish to get updates installed any more. If there ar
After you best put the resulting `/etc/dnf/plugins/versionlock.list` in Hiera with [`files::files`](../files/distribute_files) for reproducability.
#### Kernel Version Lock
A full kernel version lock needs to include a number of packages:
A full kernel version lock needs to include a number of packages. For RHEL8:
```
dnf versionlock add kernel kernel-core kernel-modules kernel-tools kernel-tools-libs kernel-headers kernel-devel
```
For RHEL9:
```
dnf versionlock add kernel kernel-core kernel-modules-core kernel-modules kernel-uki-vir kernel-tools kernel-tools-libs kernel-headers kernel-devel
```
and if AFS is configured
```
dnf versionlock add kmod-yfs