try again... hpc integration - add some checks for error conditions

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2010-05-25 18:37:03 +00:00
parent 04b4b0648c
commit 0a187284ca

View File

@ -27,8 +27,12 @@ if [ $OS != "AIX" ]; then
if [ $NODESETSTATE == "genimage" ]; then
# Being called from <image>.postinstall script
# Assume we are on the same machine
echo 1 | chroot $installroot /$vacpp_script
echo 1 | chroot $installroot /$xlf_script
if [ -n "$vacpp_script" ] ; then
echo 1 | chroot $installroot /$vacpp_script
fi
if [ -n "$xlf_script" ] ; then
echo 1 | chroot $installroot /$xlf_script
fi
fi
fi