summaryrefslogtreecommitdiffstats
path: root/test/ete/labs/huawei/apt-proxy.sh
diff options
context:
space:
mode:
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