Merge remote-tracking branch 'origin/feature/7705-smaller-squashfs' into stable
[tails/pzajda.git] / config / chroot_local-hooks / 99-zzz_runtime_apt_proxy
blob91f5b9608e60ade7e1ee9e67aabaf3f053207b49
1 #!/bin/sh
3 set -e
5 echo "Configuring the runtime APT proxy"
7 cat > /etc/apt/apt.conf.d/0000runtime-proxy <<EOF
8 // Proxy through Polipo to torify outgoing APT HTTP connections.
9 // This setting must be overriden at build time by live-build's
10 // 00http-proxy configuration file.
11 // That's why it is created in a chroot local hook.
13 Acquire::http::Proxy "http://127.0.0.1:8118/";
14 EOF