Add support for the vagrant-cachier plugin
The vagrant-cachier plugin is available at https://github.com/fgrehm/vagrant-cachier and speeds up the provisioning of boxes. Change-Id: If6ceae490d02c5f78c5fb9511b96f5ff4684402a
This commit is contained in:
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@@ -85,6 +85,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
config.vm.box_url = conf['box_url']
|
||||
end
|
||||
|
||||
if Vagrant.has_plugin?("vagrant-cachier")
|
||||
config.cache.scope = :box
|
||||
end
|
||||
|
||||
config.vm.define "manager" do |manager|
|
||||
configure_vm("manager", manager.vm, conf)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user