diff --git a/suse/module-setup.sh b/suse/module-setup.sh index 1e5c51716..cdb89c643 100644 --- a/suse/module-setup.sh +++ b/suse/module-setup.sh @@ -23,6 +23,13 @@ install() { inst_multiple -o \ $systemdsystemunitdir/rdma-hw.target \ $systemdsystemunitdir/rdma-load-modules@.service + + for i in \ + rdma-load-modules@rdma.service \ + rdma-load-modules@roce.service \ + rdma-load-modules@infiniband.service; do + $SYSTEMCTL -q --root "$initdir" add-wants initrd.target "$i" + done } installkernel() {