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

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -