export INSTALL for wget with http

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2011-12-02 07:10:56 +00:00
parent fa10b9acf8
commit 2168497930
2 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,10 @@ echo $HOSTNAME
export MASTER_IP=#XCATVAR:XCATMASTER#
export MASTER_IPS=#XCATVAR:XCATMASTER#
export MASTER="#XCATVAR:XCATMASTER#"
export INSTALLDIR=#TABLE:site:key=installdir:value#
if [ -z "$INSTALLDIR" ]; then
INSTALLDIR="/install"
fi
# for servicenode, add /install to /etc/fstab
echo "$MASTER:/install /install nfs timeo=14,intr 1 2" >>/etc/fstab

View File

@ -54,6 +54,10 @@ echo $HOSTNAME
export MASTER_IP=#XCATVAR:XCATMASTER#
export MASTER_IPS=#XCATVAR:XCATMASTER#
export MASTER="#XCATVAR:XCATMASTER#"
export INSTALLDIR=#TABLE:site:key=installdir:value#
if [ -z "$INSTALLDIR" ]; then
INSTALLDIR="/install"
fi
#
# This script has not yet been updated to work with service nodes