vagrant-cachier-ng/docs/buckets/apt.md
2013-12-07 12:36:03 -02:00

496 B

APT

Used by Debian-like Linux distros, will get configured under guest's /var/cache/apt/archives.

To manually enable it:

Vagrant.configure("2") do |config|
  config.vm.box = 'some-debian-box'
  config.cache.enable :apt
end

Please note that to avoid re-downloading packages, you should avoid apt-get clean as much as possible in order to make a better use of the cache, even if you are packaging a box since the downloaded packages are actually stored on the host machine.