Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable vagrant-cachier caching by default, but allow to opt-in #85

Merged
merged 2 commits into from
May 3, 2019

Conversation

tknerr
Copy link
Owner

@tknerr tknerr commented May 3, 2019

While preparing the exercises I saw quite a few vagrant-cachier related errors surfacing, especially when working with multi-vm Vagrantfiles.

Since this is highly confusing for new users, I disabled the caching that was enabled by default in ~/.vagrant.d/Vagrantfile.

You now have to explicitly opt-in to having vagrant-cachier caches enabled by default by the $GLOBAL_VAGRANT_CACHIER_ENABLED env var to any value, e.g.:

$ export GLOBAL_VAGRANT_CACHIER_ENABLED=1

To opt-out again, you have to unset the env var:

$ unset GLOBAL_VAGRANT_CACHIER_ENABLED

@tknerr tknerr merged commit b3e9285 into master May 3, 2019
@tknerr tknerr deleted the feature/opt-in-for-cachier branch May 3, 2019 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant