diff --git a/xCAT-server/share/xcat/ib/netboot/sles/ib.pkglist b/xCAT-server/share/xcat/ib/netboot/sles/ib.pkglist new file mode 100644 index 000000000..19db3bdba --- /dev/null +++ b/xCAT-server/share/xcat/ib/netboot/sles/ib.pkglist @@ -0,0 +1,18 @@ +# List of packages required for Infiniband support +libehca-rdmav2 +libehca-rdmav2-32bit +libgomp43-32bit +libibcm +libibcm-32bit +libibcommon1 +libibcommon1-32bit +libibmad1 +libibmad1-32bit +libibumad1 +libibumad1-32bit +libibverbs +libibverbs-32bit +libmthca-rdmav2 +libmthca-rdmav2-32bit +ofed + diff --git a/xCAT-server/share/xcat/ib/netboot/sles/ib.postinstall b/xCAT-server/share/xcat/ib/netboot/sles/ib.postinstall new file mode 100755 index 000000000..eb945efba --- /dev/null +++ b/xCAT-server/share/xcat/ib/netboot/sles/ib.postinstall @@ -0,0 +1,16 @@ +# Sample script for diskless image changes for IB support +# Invoke this script from your +# /install/custom/netboot///.postinstall script as: +# /opt/xcat/share/xcat/ib/sles/ib.postinstall $1 +# +installroot=$1 +cd $installroot/usr/lib +ln -s libibverbs.so.1.0.0 libibverbs.so +cd $installroot/usr/lib64 +ln -s libibverbs.so.1.0.0 libibverbs.so + +/usr/bin/sed -i 's/SDP_LOAD=yes/SDP_LOAD=no/g' $installroot/etc/infiniband/openi +b.conf +/usr/bin/sed -i 's/MLX4_EN_LOAD=yes/MLX4_EN_LOAD=no/g' $installroot/etc/infiniba +nd/openib.conf + diff --git a/xCAT-server/share/xcat/ib/netboot/sles/statelite.csv b/xCAT-server/share/xcat/ib/netboot/sles/statelite.csv new file mode 100644 index 000000000..d9417e4a8 --- /dev/null +++ b/xCAT-server/share/xcat/ib/netboot/sles/statelite.csv @@ -0,0 +1,3 @@ +#image,file,options,comments,disable +"ALL","/etc/modprobe.conf.local",,"for IB", +"ALL","/etc/infiniband/openib.conf",,"for IB",