Shared folders uses SMBv1 for bento/ubuntu-18.04

Vagrant tries to use SMBv1 for shared folders. However, if you have SMBv1 disabled, this will fail:
```
Vagrant requires administrator access to create SMB shares and
may request access to complete setup of configured shares.
==> default: Mounting SMB shared folders...
    default: C:/Users/Public/Documents => /*****
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t cifs -o vers=2.0,credentials=/etc/smb_creds_vgt-2a23e932cf2bf104917f9e833ef15b18-6ad5fdbcbf2eaa93bd62f92333a2e6e5,uid=1000,gid=1000 //192.168.0.248/vgt-2a23e932cf2bf104917f9e833ef15b18-6ad5fdbcbf2eaa93bd62f92333a2e6e5 /*****

The error output from the last command was:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
```
This commit is contained in:
Adam Radocz 2018-11-25 13:38:28 +01:00 committed by GitHub
parent 3f783961dd
commit 6c1cd547a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

3
android/Vagrantfile vendored
View File

@ -38,7 +38,8 @@ Vagrant.configure("2") do |config|
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
config.vm.synced_folder ".", "/vagrant_data", disabled: true
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox: