From b4d12be2e539b6b7e43ed4e814d34faa18dbe079 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Fri, 14 Feb 2014 01:37:56 -0200 Subject: [PATCH] Add docs for apt-lists bucket --- docs/buckets/apt-lists.md | 18 ++++++++++++++++++ docs/template.html | 1 + 2 files changed, 19 insertions(+) create mode 100644 docs/buckets/apt-lists.md diff --git a/docs/buckets/apt-lists.md b/docs/buckets/apt-lists.md new file mode 100644 index 0000000..228ca15 --- /dev/null +++ b/docs/buckets/apt-lists.md @@ -0,0 +1,18 @@ +# APT lists + +Used by Debian-like Linux distros, will get configured under guest's `/var/lib/apt/lists`. + +As explained on [Wikipedia](http://en.wikipedia.org/wiki/Advanced_Packaging_Tool#Files), +`/var/lib/apt/lists` is the "storage area for state information for each package +resource specified in sources.list". By enabling this bucket, `apt` will be able +to install cached packages without hitting the remote repositories for the main +package lists, [being particularly useful when developing offline](https://github.com/fgrehm/vagrant-cachier/pull/84#issue-27311414). + +To manually enable it: + +```ruby +Vagrant.configure("2") do |config| + config.vm.box = 'some-debian-box' + config.cache.enable :apt_lists +end +``` diff --git a/docs/template.html b/docs/template.html index ac464ae..e26d63c 100644 --- a/docs/template.html +++ b/docs/template.html @@ -83,6 +83,7 @@ Available Buckets