You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2022. It is now read-only.
This project has been archived. Thanks a lot to everyone that contributed with it over the years ❤️🔥
If anyone else wants to resurrect it please reach out on twitter or by other means listed in @fgrehm's website!
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 similar VM instances. Kinda like vagrant-apt_cache
or this magical snippet but targeting
multiple package managers and Linux distros.
Installation
Make sure you have Vagrant 1.4+ and run:
vagrant plugin install vagrant-cachier
Quick start
Vagrant.configure("2")do |config|
config.vm.box='your-box'ifVagrant.has_plugin?("vagrant-cachier")# Configure cached packages to be shared between instances of the same base box.# More info on https://fgrehm.viewdocs.io/vagrant-cachier/usageconfig.cache.scope=:box# OPTIONAL: If you are using VirtualBox, you might want to use that to enable# NFS for shared folders. This is also very useful for vagrant-libvirt if you# want bi-directional syncconfig.cache.synced_folder_opts={type: :nfs,# The nolock option can be useful for an NFSv3 client that wants to avoid the# NLM sideband protocol. Without this option, apt-get might hang if it tries# to lock files needed for /var/cache/* operations. All of this can be avoided# by using NFSv4 everywhere. Please note that the tcp option is not the default.mount_options: ['rw','vers=3','tcp','nolock']}# For more information please check https://docs.vagrantup.com/v2/synced-folders/basic_usage.htmlendend