Ubuntu Pastebin

Paste from kwm at Fri, 9 Sep 2016 19:24:27 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
export http_proxy=http://squid.internal:3128
export https_proxy=http://squid.internal:3128

# no proxy localhost, my internal ip, and my lxd range
export no_proxy=`echo localhost 10.245.71.116 10.44.139.{1..255} | sed 's/ /,/g'`

# - dont apt update/upgrade our instances (cloud images are recent enough)
# - let the juju2 model know about the above proxy settings
juju add-model foo --config enable-os-refresh-update=false \
  --config enable-os-upgrade=false --config http-proxy=$http_proxy \
  --config https-proxy=$https_proxy --config no-proxy=$no_proxy
Download as text