2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Force load IB/OPA modules in case of IB boot

Ubuntu diskless was not working with boot over IB
This commit is contained in:
Jarrod Johnson 2024-08-01 09:40:39 -04:00
parent 71ca9ef76c
commit 89bd7c6053

View File

@ -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