Skip to content

Commit 040ddaa

Browse files
committed
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.
1 parent f8cbd07 commit 040ddaa

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

rocky9-preconfig-ceph-offline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ houston_configuration() {
8383
echo "Installing Cockpit and Modules"
8484
dnf -y install dnf-plugins-core
8585
crb enable
86-
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
86+
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
8787
res=$?
8888
if [[ $res != 0 ]]; then
8989
echo "Error Installing Cockpit"

rocky9-preconfig-ceph.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ houston_configuration() {
180180
echo "Installing Cockpit and Modules"
181181
dnf -y install dnf-plugins-core
182182
crb enable
183-
dnf install -y cockpit cockpit-bridge cockpit-benchmark cockpit-navigator cockpit-file-sharing cockpit-45drives-hardware cockpit-identities cockpit-storaged cockpit-scheduler nano tuned
183+
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
184184
res=$?
185185
if [[ $res != 0 ]]; then
186186
echo "Error Installing Cockpit"

rocky9-preconfig.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ install_zfs() {
151151

152152
echo "Installing dependencies: dkms, kernel headers, ZFS, ZFS-dkms"
153153
dnf install -y epel-release
154-
dnf install -y dkms gcc make perl kernel-devel kernel-headers zfs zfs-dkms
154+
dnf install -y dkms gcc make perl kernel-devel kernel-headers kernel-modules zfs zfs-dkms
155155
res=$?
156156
if [[ $res != 0 ]]; then
157157
echo "ZFS and dependencies install failed"

0 commit comments

Comments
 (0)