Update Vagrantfile with vagrant-cachier auto detection
This commit is contained in:
parent
4e53cc83fe
commit
86be140f86
1 changed files with 3 additions and 3 deletions
6
development/Vagrantfile
vendored
6
development/Vagrantfile
vendored
|
@ -45,6 +45,9 @@ Vagrant.require_plugin 'vagrant-cachier'
|
|||
Vagrant.configure("2") do |config|
|
||||
config.vm.synced_folder "../", "/vagrant", id: 'vagrant-root', nfs: true
|
||||
|
||||
config.cache.scope = :machine
|
||||
config.cache.auto_detect = true
|
||||
|
||||
ip_suffix = 30
|
||||
BOXES.each do |box_name, box_config|
|
||||
config.vm.define(box_name.to_sym) do |vm_config|
|
||||
|
@ -73,9 +76,6 @@ Vagrant.configure("2") do |config|
|
|||
lxc.customize 'aa_profile', 'unconfined' unless %w(squeeze wheezy sid).include? box_name.to_s
|
||||
end
|
||||
end
|
||||
|
||||
vm_config.cache.enable :apt
|
||||
vm_config.cache.enable :gem
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue