From 040ddaacf624ddce5e01d980c4a7e558383c98b5 Mon Sep 17 00:00:00 2001 From: Hutch-45D Date: Wed, 20 May 2026 12:21:32 -0300 Subject: [PATCH] Add kernel-modules to preconfig installs Include the kernel-modules package in preconfiguration installs. Added kernel-modules to the ZFS/DKMS dependency list in rocky9-preconfig.sh and to the Cockpit package lists in rocky9-preconfig-ceph.sh and rocky9-preconfig-ceph-offline.sh to ensure kernel module support for DKMS/ZFS and related cockpit modules. --- rocky9-preconfig-ceph-offline.sh | 2 +- rocky9-preconfig-ceph.sh | 2 +- rocky9-preconfig.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rocky9-preconfig-ceph-offline.sh b/rocky9-preconfig-ceph-offline.sh index a5fa8ee..453a68c 100644 --- a/rocky9-preconfig-ceph-offline.sh +++ b/rocky9-preconfig-ceph-offline.sh @@ -83,7 +83,7 @@ houston_configuration() { echo "Installing Cockpit and Modules" dnf -y install dnf-plugins-core crb enable - dnf install -y --nobest cockpit cockpit-benchmark cockpit-bridge cockpit-navigator cockpit-file-sharing cockpit-45drives-hardware cockpit-identities cockpit-storaged cockpit-scheduler nano tuned + dnf install -y --nobest cockpit cockpit-benchmark cockpit-bridge cockpit-navigator cockpit-file-sharing cockpit-45drives-hardware cockpit-identities cockpit-storaged cockpit-scheduler nano tuned kernel-modules res=$? if [[ $res != 0 ]]; then echo "Error Installing Cockpit" diff --git a/rocky9-preconfig-ceph.sh b/rocky9-preconfig-ceph.sh index cd06bfc..8341217 100644 --- a/rocky9-preconfig-ceph.sh +++ b/rocky9-preconfig-ceph.sh @@ -180,7 +180,7 @@ houston_configuration() { echo "Installing Cockpit and Modules" dnf -y install dnf-plugins-core crb enable - dnf install -y cockpit cockpit-bridge cockpit-benchmark cockpit-navigator cockpit-file-sharing cockpit-45drives-hardware cockpit-identities cockpit-storaged cockpit-scheduler nano tuned + dnf install -y cockpit cockpit-bridge cockpit-benchmark cockpit-navigator cockpit-file-sharing cockpit-45drives-hardware cockpit-identities cockpit-storaged cockpit-scheduler nano tuned kernel-modules res=$? if [[ $res != 0 ]]; then echo "Error Installing Cockpit" diff --git a/rocky9-preconfig.sh b/rocky9-preconfig.sh index 34de5f1..4d98c75 100644 --- a/rocky9-preconfig.sh +++ b/rocky9-preconfig.sh @@ -151,7 +151,7 @@ install_zfs() { echo "Installing dependencies: dkms, kernel headers, ZFS, ZFS-dkms" dnf install -y epel-release - dnf install -y dkms gcc make perl kernel-devel kernel-headers zfs zfs-dkms + dnf install -y dkms gcc make perl kernel-devel kernel-headers kernel-modules zfs zfs-dkms res=$? if [[ $res != 0 ]]; then echo "ZFS and dependencies install failed"