fix a problem in otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4da98c6d66
commit
1ce980f4e7
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/sh
|
||||
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
@ -220,13 +220,15 @@ if [ -z "$INSTALLDIR" ]; then
|
||||
INSTALLDIR="/install"
|
||||
fi
|
||||
|
||||
#check if /install is mounted on the server, we may need to add code to conver NFSSERVER to ip
|
||||
#check if /install is mounted on the server
|
||||
mounted=0;
|
||||
result=`mount |grep /install |grep $NFSSERVER`
|
||||
result=`mount |grep " $INSTALLDIR " |grep $NFSSERVER`
|
||||
if [ $? -eq 0 ]; then
|
||||
mounted=1
|
||||
fi
|
||||
|
||||
|
||||
|
||||
#OTHERPKGDIR is set only when the provmethod is the os image name
|
||||
#when it is not set, we need to figure it out here
|
||||
if [ -z "$OTHERPKGDIR" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user