Hello Paul,

If I understand correctly, and please let me know if I got it wrong this is
what you want.

You have a folder like this:

app/
app/Vagrantfile
app/tmp/
app/tmp/<files>

If you have this as part of the projects, on each run/vagrant up it will be
synced using rsync or virtualbox shared folder.

So no extra setup needed.

Can you elaborate more on this?

Thanks
Alvaro

On Thu, Mar 10, 2016 at 12:56 PM, Paul O'Flynn <[email protected]> wrote:

> Hi All,
>
> When provisioning we wget a bunch of large binaries into the guest which
> works fine but takes some time. I had the brainwave of putting them into
> /vagrant/tmp thus they would survive a vagrant destroy and already be there
> the next time the users vagrant up. However sometimes they want to vagrant
> up to AWS and when they do all of those large binaries are getting rsync'ed
> up to AWS. So for the cases when they are not using VirtualBox, I would
> like to specify an 'rsync_exclude "/vagrant/tmp/*" option. Is that possible?
>
> I know there are other options like vagrant-cachier (can't use it because
> out wgets have to use the -o option) or simply create a new shared folder
> and use that as a cache and specify an exlude option on that. The latter
> works, but it would be nice to keep everything contained in one single
> vagrant directory if possible.
>
> Thanks in advance,
>
> Paul
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/19d34d2f-451f-4b66-a146-a395fd831abf%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/19d34d2f-451f-4b66-a146-a395fd831abf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ey1KTk5O7Y3WCbi4HCRg%2By-%3DWjDYVHXbihgpdFA2n-5zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to