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"
答案 0 :(得分:0)
在最新的virtualbox和vagrant版本中,此功能得到了改进,可以正常工作...