From 86be140f866a582266987384d913b5f5dbc24822 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Fri, 17 May 2013 18:50:25 -0300 Subject: [PATCH] Update Vagrantfile with vagrant-cachier auto detection --- development/Vagrantfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/development/Vagrantfile b/development/Vagrantfile index 03a820f..e3c3e85 100644 --- a/development/Vagrantfile +++ b/development/Vagrantfile @@ -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