Vagrant - Linux Host - Virtualbox Shared folders - Windows10 Pro Guest

25 views
Skip to first unread message

Xavier Krantz

unread,
Jan 18, 2018, 8:22:50 AM1/18/18
to Vagrant
Hello there,


I have a question regarding Virtualbox shared folders between a Linux host and a Windows10 Guest.
I have searched the internet during 2 days now but I was unable to find any answer or possible workaround.

* So by creating a VM manually in VBox GUI, the shared folders work.
* By using Vagrant to define the state of the VM it does not.


Any idea ?

  # == Shared Folders
  #
  config.vm.synced_folder File.absolute_path(dir_name), "/Dir"
  config.vm.synced_folder File.absolute_path(File.join(ENV['HOME'], 'Documents')), "/HOST_Documents"

-> This does not work ....


Ubuntu 17.10
Virtualbox 5.1.30
Vargant: 2.0.1


Thank you for your help !

Alvaro Miranda Aguilera

unread,
Jan 18, 2018, 9:27:15 AM1/18/18
to vagra...@googlegroups.com
hello

can you put a simple Vagrantfile with a box available in Vagrant cloud to reproduce?

Will be quicker if we can share the same box setup etc.

Thanks
Alvaro

--
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 vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/5e8953a9-32e4-4594-acbc-117dc79f09e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Xavier Krantz

unread,
Jan 19, 2018, 12:02:39 PM1/19/18
to vagra...@googlegroups.com
Hello Alvaro,


Thank you for you answer.

I made it finally work by using 2 Vagrant's plugins:
- vagrant-vbguest
- vagrant-vbguest-windows


And now everything is fine.



You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/eOTQSpKcBeY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew52vxeN88KThX90qEnF0ZMgoiwhUAwS8TUt%2BfcLN7S3Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages