vagrant - Vagrantfile: sync multiple folders

1.5k views Asked by At

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

There are 1 answers

0
fico7489 On BEST ANSWER

In newest virtualbox and vagrant versions this is improved and work without problems...