hello, you can setup multiples lines for that.

as shared folders:

https://docs.vagrantup.com/v2/synced-folders/basic_usage.html

config.vm.synced_folder "src/", "/srv/website"


config.vm.synced_folder "/site1/", "/home/site1"
config.vm.synced_folder "/site2/", "/home/site2"

but bear in mind that /home is reserved for home users, so better use a
different mount point,

If you have those users, and are site1 and site2, then you should mount as

config.vm.synced_folder "src/", "/srv/website", owner: "root", group: "root"

like:
config.vm.synced_folder "/site1/", "/home/site1", owner: "site1", group:
"site1"
config.vm.synced_folder "/site2/", "/home/site2", owner: "site2", group:
"site2"

if your OS is unix based (linux or OSX for example), and the guest also is,
you can look into nfs or rsync.

Hope this helps,
Alvaro.


On Thu, Oct 30, 2014 at 2:50 PM, Adrian Mak <[email protected]> wrote:

> For example
>
> host folder   ->   vagrant vm
> /site1     ->    /home/site1
> /site2     ->    /home/site2
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to