1
2
3
4
5
6
7
|
touch /etc/ctr-proxy/no-http-proxy.conf
cat > /etc/ctr-proxy/http-proxy.conf <<EOF
[Service]
Environment="HTTP_PROXY=http://yjy-huhc.geostar.com.cn:7897"
Environment="HTTPS_PROXY=http://yjy-huhc.geostar.com.cn:7897"
Environment="NO_PROXY=127.0.0.1,localhost,127.0.0.0/8,.geostar.com.cn,.svc,.cluster.local,10.0.0.0/8,.geori.geo,172.16.0.0/12,192.168.0.0/16"
EOF
|