2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00
confluent/misc/mofed/install_mofed

15 lines
450 B
Plaintext
Raw Normal View History

. /etc/confluent/functions
if lspci -d 15b3:: -n |grep 15b3 > /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