Merge pull request #244 from vatesfr/olivierlambert-nfs-fix
Add v3 parameter for NFS. Fix vatesfr/xo-web/issues/771
This commit is contained in:
commit
b777b7432a
@ -40,7 +40,7 @@ export default class NfsHandler extends LocalHandler {
|
||||
|
||||
async _mount (remote) {
|
||||
await fs.ensureDir(remote.path)
|
||||
return execa('mount', ['-t', 'nfs', `${remote.host}:${remote.share}`, remote.path])
|
||||
return execa('mount', ['-t', 'nfs', '-o', 'vers=3', `${remote.host}:${remote.share}`, remote.path])
|
||||
}
|
||||
|
||||
async _sync () {
|
||||
|
Loading…
Reference in New Issue
Block a user