vagrant - Vagrantfile: sync multiple folders

时间:2015-06-26 10:07:59

标签: vagrant virtual-machine vagrantfile vagrant-windows

I have tried the following to sync multiple folders from host to guest machine. But only one folder is getting synced, the later one.

config.vm.synced_folder "host/site1", "/var/www/site1" 

config.vm.synced_folder "host/site2", "/var/www/site2"

1 个答案:

答案 0 :(得分:0)

在最新的virtualbox和vagrant版本中,此功能得到了改进,可以正常工作...