mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
![]() It seems some Debian versions of apt-cacher-ng return error code 406 instead of 404: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762969 This is my case in Jessie, for example. This patch considers both codes as "valid". |
||
---|---|---|
.. | ||
__init__.py | ||
manifest-schema.yml | ||
README.rst | ||
tasks.py |
APT Proxy --------- This plugin creates a proxy configuration file for APT, so you could enjoy the benefits of using cached packages instead of downloading them from the mirror every time. You could just install ``apt-cacher-ng`` on the host machine and then add ``"address": "127.0.0.1"`` and ``"port": 3142`` to the manifest file. Settings ~~~~~~~~ - ``address``: The IP or host of the proxy server. ``required`` - ``port``: The port (integer) of the proxy server. ``required`` - ``username``: The username for authentication against the proxy server. This is ignored if ``password`` is not also set. ``optional`` - ``password``: The password for authentication against the proxy server. This is ignored if ``username`` is not also set. ``optional`` - ``persistent``: Whether the proxy configuration file should remain on the machine or not. Valid values: ``true``, ``false`` Default: ``false``. ``optional``