aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/labs/gwu/apt-proxy.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-15 14:23:37 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-15 17:09:56 -0800
commit65759ac8168e02a91bdb1fa9de9b297feb61f362 (patch)
treecca86691f5dfa35cd60252a6d71616bd0c580664 /test/ete/labs/gwu/apt-proxy.sh
parent2e11bbcbfcb5e7fa53a42e451fec7691a7690435 (diff)
Use numeric IP addresses for lab end points
Change-Id: Iec97b837ef83a903605a1ce07db68e3f3c65310c Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/ete/labs/gwu/apt-proxy.sh')
-rwxr-xr-xtest/ete/labs/gwu/apt-proxy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ete/labs/gwu/apt-proxy.sh b/test/ete/labs/gwu/apt-proxy.sh
index 59ba676a3..d69415bd8 100755
--- a/test/ete/labs/gwu/apt-proxy.sh
+++ b/test/ete/labs/gwu/apt-proxy.sh
@@ -5,11 +5,11 @@ sed -i '/#!\/bin\/bash/a\
mkdir -p /etc/docker\
cat > /etc/docker/daemon.json <<EOF\
{\
- "insecure-registries" : ["docker-proxy.local.enacct.com:5000"]\
+ "insecure-registries" : ["192.168.1.51:5000"]\
}\
EOF\
cat > /etc/apt/apt.conf.d/30proxy<<EOF\
- Acquire::http { Proxy "http://stack.local.enacct.com:3142"; };\
+ Acquire::http { Proxy "http://192.168.1.51:3142"; };\
Acquire::https::Proxy "DIRECT";\
EOF\
apt-get -y update' $1