8

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"
Brian Brownton
  • 1,313
  • 14
  • 31
user3872505
  • 125
  • 7
  • 3
    Can we see your whole actual Vagrantfile, with the actuals folders? – tomasyany Jun 26 '15 at 17:57
  • Also, knowledge of your host and guest OS will be useful. Based on the tags I'm guessing your host is Windows, but please include a version (eg. 8.1, 10, etc) – Brian Brownton Mar 18 '16 at 14:59

1 Answers1

1

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

fico7489
  • 7,931
  • 7
  • 55
  • 89