Compare commits
No commits in common. "530a197b49c452737c4b1b13355ceee275f98d98" and "5ddc43b30e086a3cb629c3ece28ec00449ebbdec" have entirely different histories.
530a197b49
...
5ddc43b30e
@ -134,7 +134,7 @@ update_os() {
|
||||
msg_info "Updating Container OS"
|
||||
if [[ "$CACHER" == "yes" ]]; then
|
||||
echo "Acquire::http::Proxy-Auto-Detect \"/usr/local/bin/apt-proxy-detect.sh\";" >/etc/apt/apt.conf.d/00aptproxy
|
||||
cat <<'EOF' >/usr/local/bin/apt-proxy-detect.sh
|
||||
cat <<EOF >/usr/local/bin/apt-proxy-detect.sh
|
||||
#!/bin/bash
|
||||
if nc -w1 -z "${CACHER_IP}" 3142; then
|
||||
echo -n "http://${CACHER_IP}:3142"
|
||||
|
Loading…
x
Reference in New Issue
Block a user