summaryrefslogtreecommitdiffstats
path: root/test/ete/labs/huawei/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/huawei/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/huawei/apt-proxy.sh')
-rwxr-xr-xtest/ete/labs/huawei/apt-proxy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ete/labs/huawei/apt-proxy.sh b/test/ete/labs/huawei/apt-proxy.sh
index 82cc4f7de..37018ca6b 100755
--- a/test/ete/labs/huawei/apt-proxy.sh
+++ b/test/ete/labs/huawei/apt-proxy.sh
@@ -3,11 +3,11 @@ sed -i '/#!\/bin\/bash/a\
mkdir -p /etc/docker\
cat > /etc/docker/daemon.json <<EOF\
{\
- "insecure-registries" : ["docker-proxy.neo.futurewei.com:5000"]\
+ "insecure-registries" : ["10.145.122.118:5000"]\
}\
EOF\
cat > /etc/apt/apt.conf.d/30proxy<<EOF\
- Acquire::http { Proxy "http://apt-proxy.neo.futurewei.com:3142"; };\
+ Acquire::http { Proxy "http://10.145.122.118:3142"; };\
Acquire::https::Proxy "DIRECT";\
EOF\
apt-get -y update' $1