aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/labs/huawei/apt-proxy.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-12 01:17:32 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-12 01:26:00 -0800
commitea1a5b7ade95eeda13b9ef97708040cc8f69e69c (patch)
tree6bbbc3b899acfc5c68b2afaca8075acd3b1b32fb /test/ete/labs/huawei/apt-proxy.sh
parent4fc947f51190baf02435b02a3fd70bd2da40ec62 (diff)
Don't use insecure docker cache for dcae-bootstrap
Change-Id: Iadcbc5798f16dd79cc39fc2b852d2f4440afb24c 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.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ete/labs/huawei/apt-proxy.sh b/test/ete/labs/huawei/apt-proxy.sh
index 45c8ae09b..82cc4f7de 100755
--- a/test/ete/labs/huawei/apt-proxy.sh
+++ b/test/ete/labs/huawei/apt-proxy.sh
@@ -11,3 +11,6 @@ sed -i '/#!\/bin\/bash/a\
Acquire::https::Proxy "DIRECT";\
EOF\
apt-get -y update' $1
+
+# don't use insecure docker proxy in dcae
+perl -i -0pe 's/(?<=dcae_c_vm:)(.*?)\{ get_param: nexus_docker_repo \}/$1"nexus3.onap.org:10001"/s' $1