vagrant-cachier-ng/docs/buckets/apt.md

15 lines
401 B
Markdown
Raw Normal View History

2013-12-07 05:43:37 +00:00
# APT
```ruby
Vagrant.configure("2") do |config|
config.vm.box = 'some-debian-box'
config.cache.enable :apt
end
```
Used by Debian-like Linux distros, will get configured under guest's `/var/cache/apt/archives`.
_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_