2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-08-25 20:50:28 +00:00
Files
confluent/misc/mofed/install_mofed
Jarrod Johnson cbf42469c3 Add a sample script to install mofed
This is an example install script to use in post.custom for mofed
2020-10-07 14:12:31 -04:00

15 lines
453 B
Plaintext

. /etc/confluent/functions
if lspci -d 15b3::0207 -n |grep 207 > /dev/null; then
# Uncomment the following two lines and comment out the following
# three lines to use the .iso instead
#fetch_remote ofed/ofed.tgz
#tar xf ofed.tgz
fetch_remote ofed/ofed.iso
mkdir MLNX_OFED
mount -o loop ofed.iso MLNX_OFED
# The rest is common between tar and iso
cd MLNX_OFED*
mount -o loop ofed
./mlnxofedinstall --force
fi