Hello, shared folder are meant to be used in Virtualbox or VMware, and Vagrant will do the best to setup.
For unix to linux, you can use rsync. There are some blog post about the mix that works between Windows rsync (Cywwin, variables, path, etc) and linux guest This is said to work if you have rsync from cygwin: VAGRANT_DETECTED_OS=cygwin vagrant up Alvaro. On Wed, Oct 14, 2015 at 12:15 AM, <[email protected]> wrote: > Hi, > > Continuing my theme of problems with azure. Having now overcome > (Circumvented) my chef installation problems I now find that I can't get the > /vagrant share working. > > I know I can disable this with: > > override.vm.synced_folder '.', '/vagrant', disabled: true > > Only problem is that as part of my install there are files I need access to > which it is seems fairly normally to put them here and I believe this is > fairly normal practise. The problem is it prompts me for a "windows" (I > believe) user and password. > > ==> default: Preparing SMB shared folders... > default: You will be asked for the username and password to use for the > SMB > default: folders shortly. Please use the proper username/password of > your > default: Windows account. > default: > default: Username: > default: Password (will be hidden): > > Whatever I enter just doesn't seem to work and I get the error output below: > > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/guests/linux/cap/choose_ > addressable_ip_addr.rb:7:in `block in choose_addressable_ip_addr': undefined > met > hod `each' for nil:NilClass (NoMethodError) > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/guests/linu > x/cap/choose_addressable_ip_addr.rb:6:in `tap' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/guests/linu > x/cap/choose_addressable_ip_addr.rb:6:in `choose_addressable_ip_addr' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/capabil > ity_host.rb:111:in `call' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/capabil > ity_host.rb:111:in `capability' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/guest.r > b:43:in `capability' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/synced_fold > ers/smb/synced_folder.rb:109:in `enable' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > builtin/synced_folders.rb:92:in `block in call' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > builtin/synced_folders.rb:89:in `each' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > builtin/synced_folders.rb:89:in `call' > from > C:/Users/gilma01/.vagrant.d/gems/gems/vagrant-azure-1.3.0/lib/vagra > nt-azure/action/sync_folders.rb:28:in `call' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > warden.rb:34:in `call' > from > C:/Users/gilma01/.vagrant.d/gems/gems/vagrant-omnibus-1.4.1/lib/vag > rant-omnibus/action/install_chef.rb:38:in `call' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > warden.rb:34:in `call' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > builtin/provision.rb:80:in `call' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > warden.rb:34:in `call' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > warden.rb:95:in `block in finalize_action' > from > C:/WP1/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/ > warden.rb:34:in `call' > etc etc > > -- > 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/1c61be14-2b25-47b7-a2e9-5b647d593658%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAHqq0eyR8syCiwvUu5iAEwL12%3D97yMPn%3D%3DwukPThJHRBcLWLxQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
