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
Post a Comment