🟢 Stable
development | ||
docs | ||
lib | ||
locales | ||
spec/acceptance | ||
.gitignore | ||
CHANGELOG.md | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.txt | ||
Rakefile | ||
README.md | ||
vagrant-cachier.gemspec |
vagrant-cachier
A Vagrant plugin that helps you reduce the amount of coffee you drink while waiting for boxes to be provisioned by sharing a common package cache among similiar VM instances. Kinda like vagrant-apt_cache or this magical snippet but targetting multiple package managers and Linux distros.
Installation
Make sure you have Vagrant 1.4+ and run:
vagrant plugin install vagrant-cachier
Quick start
The easiest way to set things up is just to enable cache buckets auto detection
from within your Vagrantfile
:
Vagrant.configure("2") do |config|
config.vm.box = 'your-box'
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.auto_detect = true
# If you are using VirtualBox, you might want to enable NFS for shared folders
# config.cache.enable_nfs = true
end
end
For more information please read the documentation available at http://fgrehm.viewdocs.io/vagrant-cachier.
Compatible providers
- Vagrant's built in VirtualBox provider
- vagrant-lxc
- VMware providers with NFS enabled (See GH-24 for more info)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request