autoinst

scripts to make installation of custom debian easier and more automated
git clone git://deadbeef.fr/autoinst.git
Log | Files | Refs | README | LICENSE

commit 4504f85faf15a10762aa02c892c9f98c4346ac62
parent 1c1ada3951d96a02b13b049688f048ea8adba517
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date:   Thu, 12 Nov 2020 18:48:46 +0100

less bloated apt conf: minimal installs, no cache, and use proxy

Diffstat:
Atemplates/generic/root/etc/apt/apt.conf.d/02lanconf | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/templates/generic/root/etc/apt/apt.conf.d/02lanconf b/templates/generic/root/etc/apt/apt.conf.d/02lanconf @@ -0,0 +1,19 @@ +# only install necessary packages, to avoid bloating the +# system. Remember: this system is *not* for casual users. +APT::Get::Install-Recommends "false"; +APT::Get::Install-Suggests "false"; + +# use LAN proxy to fetch packages, which implies there is +# no need for local caching. +Acquire::http::proxy "http://10.0.0.201:3142/"; +Dir::Cache ""; +Dir::Cache::archives ""; + +# uncomment to disable some internal cache using by apt and +# friends. It is safe, will reclaim few mebioctets, but +# will probably slow down things, thus I believe it's not +# useful to do so by default. +# I would love to have more information about what those +# files really are for. +#Dir::Cache::pkgcache ""; +#Dir::Cache::srcpkgcache "";