From 3a028e762f6b15af0bbcff68582312562ddd56bc Mon Sep 17 00:00:00 2001 From: angli-xcat Date: Mon, 13 Jun 2011 06:23:25 +0000 Subject: [PATCH] some minor fix for my last commit git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../share/xcat/netboot/rh/dracut/xcat-prepivot.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/rh/dracut/xcat-prepivot.sh b/xCAT-server/share/xcat/netboot/rh/dracut/xcat-prepivot.sh index 22b0bc9b6..5c6256df6 100755 --- a/xCAT-server/share/xcat/netboot/rh/dracut/xcat-prepivot.sh +++ b/xCAT-server/share/xcat/netboot/rh/dracut/xcat-prepivot.sh @@ -46,11 +46,11 @@ if [ ! -z $SNAPSHOTSERVER ]; then mkdir -p $NEWROOT/$RWDIR/persistent MAXTRIES=5 ITER=0 - if [ -z $MNTOPTS ]; then - MNT_OPTIONS="nolock,rsize=32768,tcp,timeo=14" - else - MNT_OPTIONS=$MNTOPTS - fi + if [ -z $MNTOPTS ]; then + MNT_OPTIONS="nolock,rsize=32768,tcp,nfsvers=3,timeo=14" + else + MNT_OPTIONS=$MNTOPTS + fi while ! mount $SNAPSHOTSERVER:/$SNAPSHOTROOT $NEWROOT/$RWDIR/persistent -o $MNT_OPTIONS; do ITER=$(( ITER + 1 )) if [ "$ITER" == "$MAXTRIES" ]; then