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