Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MAAS script to add support for Mellanox adapters
#!/bin/sh
set -e
. /etc/lsb-release
package=MLNX_OFED_LINUX-4.6-1.0.1.1-ubuntu${DISTRIB_RELEASE}-x86_64
wget -q http://www.must-have-coffee.gen.nz/lloyd/${package}.tgz
tar xf ${package}.tgz
cd ${package}
./mlnxofedinstall --kernel-only --without-fw-update -q
/sbin/connectx_port_config -c eth,eth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment