mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 04:32:11 +00:00
Add examples for MOFED in EL7 distros
This commit is contained in:
parent
504bee2d2a
commit
745b82a603
@ -36,6 +36,8 @@ reboot
|
||||
chrony
|
||||
rsync
|
||||
python
|
||||
pciutils
|
||||
%include /tmp/addonpackages
|
||||
%end
|
||||
|
||||
|
||||
|
@ -0,0 +1,20 @@
|
||||
# To use this script, rename or copy the mofed image to either ofed.tgz or ofed.iso
|
||||
# and modify the script below if wanting to use the iso instead of tgz
|
||||
|
||||
# It checks for mellanox devices and opts not to install, so this script could be added
|
||||
# to a general profile without causing mofed to install on non-mellanox systems
|
||||
. /etc/confluent/functions
|
||||
if lspci -d 15b3:: -n |grep 15b3 > /dev/null; then
|
||||
# Uncomment the following three lines and comment out the next
|
||||
# two lines to use the .iso instead of the tgz packaging
|
||||
#fetch_remote infiniband/mofed.iso
|
||||
#mkdir MLNX_OFED
|
||||
#mount -o loop ofed.iso MLNX_OFED
|
||||
fetch_remote infiniband/mofed.tgz
|
||||
tar xf mofed.tgz
|
||||
# The rest is common between tar and iso
|
||||
cd MLNX_OFED*
|
||||
mount -o loop ofed
|
||||
./mlnxofedinstall --force
|
||||
fi
|
||||
|
@ -0,0 +1,10 @@
|
||||
# Add needed base packages to the install
|
||||
cat << EOF >> /tmp/addonpackages
|
||||
perl
|
||||
pkgconf-pkg-config
|
||||
tcsh
|
||||
lsof
|
||||
tk
|
||||
gcc-gfortran
|
||||
tcl
|
||||
EOF
|
@ -2,3 +2,6 @@
|
||||
# This is a convenient place to keep customizations separate from modifying the stock scripts
|
||||
# While modification of the stock scripts is fine, it may be easier to rebase to a newer
|
||||
# stock profile if the '.custom' files are used.
|
||||
# An example for installing OFED for infiniband follows (see the file for more detail):
|
||||
#run_remote infiniband/mofed.post
|
||||
|
||||
|
@ -2,3 +2,13 @@
|
||||
# This is a convenient place to keep customizations separate from modifying the stock scripts
|
||||
# While modification of the stock scripts is fine, it may be easier to rebase to a newer
|
||||
# stock profile if the '.custom' files are used.
|
||||
#
|
||||
#Here is an example to locally configure the platform BMC according
|
||||
#to confluent configuration so that the BMC would be on the correct
|
||||
#network:
|
||||
#run_remote_python configbmc -c
|
||||
|
||||
#Some addons improve efficiency by adding dependencies during install
|
||||
#here is an example for adding OFED install prereqs to the install
|
||||
#run_remote infiniband/mofed.pre
|
||||
|
||||
|
@ -45,6 +45,7 @@ if [ -f "/run/install/cmdline.d/01-autocons.conf" ]; then
|
||||
consoledev=$(cat /run/install/cmdline.d/01-autocons.conf | sed -e 's!console=!/dev/!' -e 's/,.*//')
|
||||
TMUX= tmux a <> $consoledev >&0 2>&1 &
|
||||
fi
|
||||
touch /tmp/addonpackages
|
||||
cryptboot=$(grep ^encryptboot: /etc/confluent/confluent.deploycfg | awk '{print $2}')
|
||||
LUKSPARTY=''
|
||||
if [ "$cryptboot" == "tpm2" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user