mirror of https://github.com/apache/cloudstack.git
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:
parent
551ce004c8
commit
8a6bde7d83
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Reference in New Issue