vagrantfile - Share a single file in vagrant -


how share single file, instead of sharing whole folder like

config.vm.synced_folder "host/folder", "box/folder" 

?

in other words there way have like:

config.vm.synced_folder "host/folder/file.conf", "box/folder/file.conf" 

use include flag in rsync args array:

config.vm.synced_folder "host/folder/", "box/folder/", type: "rsync",     rsync__args: ["--include=file.conf"] 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -