fix for bug 3466334: if the /install is mounted from MN, the ospkgdir and otherpkgdir should be different
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
504d6f443e
commit
3db2c1817b
@ -71,7 +71,11 @@ if [ $? -eq 0 ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$OSPKGDIR" ]; then
|
||||
OSPKGDIR="$NFSSERVER$INSTALLDIR/$OSVER/$ARCH"
|
||||
if [ $mounted -eq 0 ]; then
|
||||
OSPKGDIR="$NFSSERVER$INSTALLDIR/$OSVER/$ARCH"
|
||||
else
|
||||
OSPKGDIR="$NFSSERVER/$OSVER/$ARCH"
|
||||
fi
|
||||
if ( pmatch "$OSVER" "sles*" ); then
|
||||
OSPKGDIR="$OSPKGDIR/1"
|
||||
elif ( pmatch "$OSVER" "rhel*" ); then
|
||||
|
@ -229,7 +229,11 @@ if [ $? -eq 0 ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$OTHERPKGDIR" ]; then
|
||||
OTHERPKGDIR="$NFSSERVER$INSTALLDIR/post/otherpkgs/$OSVER/$ARCH"
|
||||
if [ $mounted -eq 0 ]; then
|
||||
OTHERPKGDIR="$NFSSERVER$INSTALLDIR/post/otherpkgs/$OSVER/$ARCH"
|
||||
else
|
||||
OTHERPKGDIR="$NFSSERVER/post/otherpkgs/$OSVER/$ARCH"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $mounted -eq 0 ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user