hpc integration - add some checks for error conditions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3863050006
commit
04b4b0648c
@ -16,8 +16,12 @@ if [ $OS != "AIX" ]; then
|
||||
|
||||
if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then
|
||||
# Being run from a stateful install postscript
|
||||
echo 1 | $vacpp_script
|
||||
echo 1 | $xlf_script
|
||||
if [ -n "$vacpp_script" ] ; then
|
||||
echo 1 | $vacpp_script
|
||||
fi
|
||||
if [ -n "$xlf_script" ] ; then
|
||||
echo 1 | $xlf_script
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $NODESETSTATE == "genimage" ]; then
|
||||
|
@ -30,10 +30,14 @@ if [ $OS != "AIX" ]; then
|
||||
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log
|
||||
rpm -Uvh essl.license*.rpm
|
||||
install_essl=`find /opt/ibmmath/essl -name install_essl -print`
|
||||
$install_essl -y -d . -nodocs
|
||||
if [ -n "$install_essl" ] ; then
|
||||
$install_essl -y -d . -nodocs
|
||||
fi
|
||||
rpm -Uvh pessl.license*.rpm
|
||||
install_pessl=`find /opt/ibmmath/pessl -name install_pessl -print`
|
||||
$install_pessl -y -d . -nodocs
|
||||
if [ -n "$install_pessl" ] ; then
|
||||
$install_pessl -y -d . -nodocs
|
||||
fi
|
||||
rm -Rf /tmp/essl
|
||||
fi
|
||||
|
||||
@ -46,10 +50,14 @@ if [ $OS != "AIX" ]; then
|
||||
rpm --root $installroot -Uvh $installroot/$tmpdir/essl.license*.rpm
|
||||
cd $installroot
|
||||
install_essl=`find opt/ibmmath/essl -name install_essl -print`
|
||||
chroot $installroot /$install_essl -y -nodocs -d /$tmpdir
|
||||
if [ -n "$install_essl" ] ; then
|
||||
chroot $installroot /$install_essl -y -nodocs -d /$tmpdir
|
||||
fi
|
||||
rpm --root $installroot -Uvh $installroot/$tmpdir/pessl.license*.rpm
|
||||
install_pessl=`find opt/ibmmath/pessl -name install_pessl -print`
|
||||
chroot $installroot /$install_pessl -y -nodocs -d /$tmpdir
|
||||
if [ -n "$install_pessl" ] ; then
|
||||
chroot $installroot /$install_pessl -y -nodocs -d /$tmpdir
|
||||
fi
|
||||
rm -rf $installroot/$tmpdir
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user