Skip to content

Instantly share code, notes, and snippets.

@jamesbeedy
Created June 3, 2020 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesbeedy/e618e017a3d80116a860e85b8c747739 to your computer and use it in GitHub Desktop.
Save jamesbeedy/e618e017a3d80116a860e85b8c747739 to your computer and use it in GitHub Desktop.
00-maas-000-mft-4.14.4-6-x86_64
#!/bin/bash -ex
# --- Start MAAS 1.0 script metadata ---
# name: 00-maas-000-mft-4.14.4-6-x86_64
# title: 00-maas-000-mft-4.14.4-6-x86_64
# description: mft-4.14.4-6-x86_64
# script_type: commissioning
# tags: configure_infiniband
# packages:
# url: https://www.mellanox.com/downloads/MFT/mft-4.14.4-6-x86_64-deb.tgz
# recommission: False
# may_reboot: True
# --- End MAAS 1.0 script metadata ---
apt-get update -y
apt-get install gcc make dkms linux-headers-5.4.0-26-generic linux-headers-generic -y
$DOWNLOAD_PATH/mft-4.14.4-6-x86_64-deb/install.sh
mst start
mlxconfig --yes -d /dev/mst/mt4123_pciconf0 set LINK_TYPE_P1=2
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment