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

Move scripted install to pre-trigger

In Stream 9, initqueue is too late to pre-empt the auto dhcp,
move up to pre-trigger and manually trigger to get network
ready for pre-emption.
This commit is contained in:
Jarrod Johnson 2021-10-11 13:28:55 -04:00
parent 57f346fa4c
commit a0dfd3f42d

View File

@ -1,5 +1,12 @@
#!/bin/sh
[ -e /tmp/confluent.initq ] && return 0
udevadm trigger
udevadm trigger --type=devices --action=add
udevadm settle
modprobe ib_ipoib
modprobe ib_umad
modprobe hfi1
modprobe mlx5_ib
function confluentpython() {
if [ -x /usr/libexec/platform-python ]; then
/usr/libexec/platform-python $*