support nfsv4 for testcase

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
amy0701 2013-02-05 09:08:39 +00:00
parent 2cc0280af4
commit 3712a03eb0

View File

@ -27,9 +27,9 @@ check:rc==0
cmd:chmod -R 777 /mydata/rw
check:rc==0
cmd:chmod 755 /etc/exports
cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata -vers=4,sec=sys:none,anon=0,rw " >> /etc/exports; fi
cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata -vers=3:4,sec=sys:none,anon=0,rw " >> /etc/exports; fi
check:rc==0
cmd:cat /etc/exports|grep mydata; if [ "$?" -ne "0" ]; then echo "/mydata -vers=4,sec=sys:none,anon=0,rw " >> /etc/exports; fi
cmd:cat /etc/exports|grep mydata; if [ "$?" -ne "0" ]; then echo "/mydata -vers=3:4,sec=sys:none,anon=0,rw " >> /etc/exports; fi
check:rc==0
cmd:exportfs -a
check:rc==0