Add config option to identify buckets that should not be automatically enabled with using `config.cache.auto_detect = true`. After turning on the auto_detect behaviour, with this change you can now explicitly disable any bucket type through your Vagrantfile e.g. `config.cache.disable = :chef_gem`. Fixes #115
15 lines
410 B
Ruby
15 lines
410 B
Ruby
Vagrant.configure("2") do |config|
|
|
config.vm.provider :virtualbox do |_, override|
|
|
override.vm.box = "chef/ubuntu-14.04"
|
|
end
|
|
|
|
config.vm.provider :lxc do |_, override|
|
|
override.vm.box = "fgrehm/trusty64-lxc"
|
|
end
|
|
|
|
config.cache.auto_detect = true
|
|
config.cache.disable = :apt
|
|
config.cache.scope = :machine
|
|
|
|
config.vm.provision :shell, inline: 'apt-get update && apt-get install -y git'
|
|
end
|