I'm using Vagrant 2.0.2 with VirtualBox 5.2.8 r121009 (Qt5.6.2) to run a
Debian 8 box on a brand new Windows 10 Pro for Workstations.
I just installed windows on this pc last week and i'm trying to build a new
box from scratch,but I'm running into some issues because I need to use smb
shared folders. I have tried all solutions available on internet and still
it doesn't work.
Every time I try a vagrant up, the command returns this message: Vagrant
failed to generate a list of local SMB shares. Please try running the
command again.
Is there any known problem with this vagrant environment I'm using?
Here is my Vagrantfile:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.hostname = "vmhost"
#Vanilla Debian available on vagrant cloud
config.vm.box = "debian/jessie64"
config.vm.network "forwarded_port", guest: 80, host: 80
config.vm.network "forwarded_port", guest: 3306, host: 3306
config.vm.network "forwarded_port", guest: 443, host: 443
config.vm.network "forwarded_port", guest: 3000, host: 3000
config.vm.network "forwarded_port", guest: 6379, host: 6379
config.vm.network "forwarded_port", guest: 27017, host: 27017
config.vm.network "private_network", ip: "192.168.56.102"
config.vm.synced_folder "./var/www", "/var/www", type: "smb",
mount_options: ["vers=3.02","mfsymlinks,dir_mode=0755,file_mode=0755"],
group: "www-data", owner: "vagrant", create: true
config.vm.synced_folder "./apache/sites-available",
"/etc/apache2/sites-available", type: "smb", mount_options: ["vers=3.02",
"mfsymlinks,dir_mode=0755,file_mode=0755"], create: true
config.vm.synced_folder "./sh_provision", "/tmp/sh_provision", create:
true
config.vm.provision "shell", path: "sh_provision/no_provision", run:
"always"
config.vm.provider :virtualbox do |box|
box.gui = true
box.name = "vmhost"
box.memory = "1024"
end
end
Thanks in advance
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/a01f812f-282e-4683-adb5-4c76cd423b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.