Fix NFS mount issues for Linux target

This commit is contained in:
Olivier Lambert
2016-02-28 17:20:02 +01:00
parent 318dd14e42
commit 563b643461

View File

@@ -40,7 +40,7 @@ export default class NfsHandler extends LocalHandler {
async _mount (remote) {
await fs.ensureDir(remote.path)
return execa('mount', ['-t', 'nfs', '-o', 'vers=3', `${remote.host}:${remote.share}`, remote.path])
return execa('mount', ['-t', 'nfs', '-o', 'vers=3', `${remote.host}:/${remote.share}`, remote.path])
}
async _sync () {