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 14:23:37 -0800
commit6177809fcbe19e5fa9d360e4ee381534e947ecd9 (patch)
tree3211d8759b05222ec439d7c6efba576fad8ffeb6 /test/ete/labs/huawei/apt-proxy.sh
parentc2f08adeb67921646ef4c4014ebbe3962ffef5ac (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