Add command to fix symlink

This commit is contained in:
Michel Roux 2017-02-07 10:36:21 +01:00
parent dcf4601159
commit e5e3f94956
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,10 @@ class VirtualBox {
if (opts.writable === false || opts.readonly) args.push('--readonly')
if (opts.transient) args.push('--transient')
this.command(args, done)
this.command(args, function () {
const args2 = ['setextradata', 'default', 'VBoxInternal2/SharedFoldersEnableSymlinksCreate/' + name, '1']
this.command(args2, done)
})
}
removeShare() {