From 89bd7c6053c0cd688e9b009b3cb5f07d58a5ecae Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 1 Aug 2024 09:40:39 -0400 Subject: [PATCH] Force load IB/OPA modules in case of IB boot Ubuntu diskless was not working with boot over IB --- .../initramfs/scripts/init-premount/confluent | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent b/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent index 2f7094b9..a4ca41cf 100644 --- a/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent +++ b/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent @@ -58,6 +58,10 @@ if ! grep console= /proc/cmdline > /dev/null; then echo "Automatic console configured for $autocons" fi echo sshd:x:30:30:SSH User:/var/empty/sshd:/sbin/nologin >> /etc/passwd +modprobe ib_ipoib +modprobe ib_umad +modprobe hfi1 +modprobe mlx5_ib cd /sys/class/net for nic in *; do ip link set $nic up