mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Add a sample script to install mofed
This is an example install script to use in post.custom for mofed
This commit is contained in:
parent
8dd66211b7
commit
cbf42469c3
14
misc/mofed/install_mofed
Normal file
14
misc/mofed/install_mofed
Normal file
@ -0,0 +1,14 @@
|
||||
. /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
|
Loading…
Reference in New Issue
Block a user