diskimage-builder/elements/mellanox/udev.d/81-mellanox-drivers.rules
Noam Angel 07e34f90e7 Fix mellanox element required kernel modules and user space packages
This fix add need kernel module for Infiniband and ConnectX-4+ network
cards.
Also install by default required user space packages.
Change-Id: Ia2e7b1820f197778138a23fafaccb5a4fb44369a
2016-09-11 11:40:20 +00:00

12 lines
348 B
Plaintext

ACTION!="add", GOTO="drivers_end"
SUBSYSTEM=="net", RUN+="/sbin/modprobe mlx4_en"
SUBSYSTEM=="net", RUN+="/sbin/modprobe mlx4_ib"
SUBSYSTEM=="net", RUN+="/sbin/modprobe ib_ipoib"
SUBSYSTEM=="net", RUN+="/sbin/modprobe mlx5_ib"
SUBSYSTEM=="net", RUN+="/sbin/modprobe ib_umad"
SUBSYSTEM=="net", RUN+="/sbin/modprobe ib_uverbs"
LABEL="drivers_end"