From 27d19e49b1f98bdae636723fb61614957602cb5b Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sat, 9 Mar 2013 17:51:42 -0300 Subject: [PATCH] Remove trailing slash from archives shared folder, looks like VB provider was having a hard time dealing with it --- development/Vagrantfile.lxc | 2 +- development/Vagrantfile.vb.1.0 | 2 +- development/Vagrantfile.vb.1.1 | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/development/Vagrantfile.lxc b/development/Vagrantfile.lxc index a809155..c062bba 100644 --- a/development/Vagrantfile.lxc +++ b/development/Vagrantfile.lxc @@ -22,7 +22,7 @@ Vagrant.configure("2") do |config| cache_dir = local_cache(config.vm.box) config.vm.synced_folder cache_dir, - "/var/cache/apt/archives/", + "/var/cache/apt/archives", name: "vagrant-cache" config.vm.provider :lxc do |lxc| diff --git a/development/Vagrantfile.vb.1.0 b/development/Vagrantfile.vb.1.0 index 44ac916..a8debc5 100644 --- a/development/Vagrantfile.vb.1.0 +++ b/development/Vagrantfile.vb.1.0 @@ -17,7 +17,7 @@ Vagrant::Config.run do |config| cache_dir = local_cache(config.vm.box) config.vm.share_folder "v-root", "/vagrant", "../" - config.vm.share_folder "v-cache", "/var/cache/apt/archives/", cache_dir + config.vm.share_folder "v-cache", "/var/cache/apt/archives", cache_dir if defined? VagrantVbguest::Config config.vbguest.auto_update = false diff --git a/development/Vagrantfile.vb.1.1 b/development/Vagrantfile.vb.1.1 index f065bfb..12218ff 100644 --- a/development/Vagrantfile.vb.1.1 +++ b/development/Vagrantfile.vb.1.1 @@ -18,9 +18,7 @@ Vagrant.configure('2') do |config| config.vm.synced_folder "../", "/vagrant", name: 'vagrant-root' cache_dir = local_cache(config.vm.box) - config.vm.synced_folder cache_dir, - "/var/cache/apt/archives/", - name: "vagrant-cache" + config.vm.synced_folder cache_dir, "/var/cache/apt/archives" config.vm.provision :shell, :path => 'shell-provisioning/upgrade-kernel'