From a0dfd3f42da9ade6c9cd919ee50b4c30c0442ad6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 11 Oct 2021 13:28:55 -0400 Subject: [PATCH] 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. --- .../hooks/{initqueue => pre-trigger}/01-confluent.sh | 7 +++++++ 1 file changed, 7 insertions(+) rename confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/{initqueue => pre-trigger}/01-confluent.sh (97%) diff --git a/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh b/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/pre-trigger/01-confluent.sh similarity index 97% rename from confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh rename to confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/pre-trigger/01-confluent.sh index 92b59dd0..a4adcab7 100644 --- a/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh +++ b/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/pre-trigger/01-confluent.sh @@ -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 $*