From 8569a47c03912e0ff1f48309202bbfacd63ad359 Mon Sep 17 00:00:00 2001 From: Francois Lesueur Date: Wed, 1 Mar 2023 17:44:49 +0100 Subject: [PATCH] augmentation taille cache squid --- files/vm-provision.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/vm-provision.sh b/files/vm-provision.sh index 3dc5775..b7b9f19 100755 --- a/files/vm-provision.sh +++ b/files/vm-provision.sh @@ -31,6 +31,7 @@ export DebugLog="${VAGRANT_SRC_DIR}/log/log-vagrant-$(date +%y-%m-%d-%T)-" DEBIAN_FRONTEND=noninteractive apt-get install -y squid sed -i -e "s/#http_access allow localnet/http_access allow localnet/" /etc/squid/squid.conf echo "cache_dir aufs /var/spool/squid 5000 14 256 +maximum_object_size 4000 MB http_port 3142" >> /etc/squid/squid.conf service squid restart echo "Acquire::http::Proxy \"http://127.0.0.1:3142\";" > /etc/apt/apt.conf.d/01proxy; # utilisation de apt-cacher-ng