Remove trailing slash from archives shared folder, looks like VB provider was having a hard time dealing with it

This commit is contained in:
Fabio Rehm 2013-03-09 17:51:42 -03:00
parent d24f4e5c28
commit 27d19e49b1
3 changed files with 3 additions and 5 deletions

View file

@ -22,7 +22,7 @@ Vagrant.configure("2") do |config|
cache_dir = local_cache(config.vm.box) cache_dir = local_cache(config.vm.box)
config.vm.synced_folder cache_dir, config.vm.synced_folder cache_dir,
"/var/cache/apt/archives/", "/var/cache/apt/archives",
name: "vagrant-cache" name: "vagrant-cache"
config.vm.provider :lxc do |lxc| config.vm.provider :lxc do |lxc|

View file

@ -17,7 +17,7 @@ Vagrant::Config.run do |config|
cache_dir = local_cache(config.vm.box) cache_dir = local_cache(config.vm.box)
config.vm.share_folder "v-root", "/vagrant", "../" 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 if defined? VagrantVbguest::Config
config.vbguest.auto_update = false config.vbguest.auto_update = false

View file

@ -18,9 +18,7 @@ Vagrant.configure('2') do |config|
config.vm.synced_folder "../", "/vagrant", name: 'vagrant-root' config.vm.synced_folder "../", "/vagrant", name: 'vagrant-root'
cache_dir = local_cache(config.vm.box) cache_dir = local_cache(config.vm.box)
config.vm.synced_folder cache_dir, config.vm.synced_folder cache_dir, "/var/cache/apt/archives"
"/var/cache/apt/archives/",
name: "vagrant-cache"
config.vm.provision :shell, :path => 'shell-provisioning/upgrade-kernel' config.vm.provision :shell, :path => 'shell-provisioning/upgrade-kernel'