Shared folders?
ssehovic opened this issue · 5 comments
Hi,
after vagrant up I don't have shared folder with default/ezpublish files on my windows7 host?
Am I missing something?
Sinisa
Hi,
you can put config.vm.synced_folder "ezpublish/", "/var/www/default" to Vagrantfile for it. Now I can use windows IDE to develop.
Best regards,
Sinia
Hi,
I do this
Vagrant.configure("2") do |config|
config.vm.box = VB_NAME
config.vm.box_url = VB_URI
Share an additional folder to the guest VM. The first argument is
the path on the host to the actual folder. The second argument is
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 "c:/partage_vagrant", "/var/www/default"
# Enable SSH agent forwarding
config.ssh.forward_agent = true
but i still have trouble
- /var/www/default/ is vagant user and not www-data user
- it's seems that symlink in web repository are not create
Someone ave an idea ;)
Thanks,
Nhairic
symlink seems not to be generated
Hi @nhairic
As this is a Vagrant issue and not related to this particular project you may have better luck with you questions in the vagrant mailing list. See: https://www.vagrantup.com/support.html
As it appears you are trying to mount a windows system try escaping the "" e.g.
config.vm.synced_folder "c:\\partage_vagrant", "/var/www/default"
See: http://stackoverflow.com/questions/11417422/how-can-i-share-a-windows-7-folder-to-lucid32-running-in-vagrant
Cheers
Bruce
Hi Bruce
Thanks you very much ;)