bug 6605: add same mount option to snapshot related mount with nfs SR mount

option is
rw,soft,timeo=133,retrans=10,tcp,noac
This commit is contained in:
anthony 2010-10-15 20:37:34 -07:00
parent 551ce004c8
commit 8a6bde7d83
1 changed files with 2 additions and 1 deletions

View File

@ -718,7 +718,8 @@ def mount(remoteDir, localDir):
makedirs(localDir)
try:
cmd = ['mount', remoteDir, localDir]
options = "soft,timeo=133,retrans=10,tcp,noac"
cmd = ['mount', remoteDir, localDir, "-o", options]
txt = util.pread2(cmd)
except:
txt = ''