aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/labs/windriver/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 09:26:53 +0000
commitb57cc8f1088220cd9911dd88a559ea75dfb0538a (patch)
tree084c2c63f4944dc45ae4d90225aa568376fab67c /test/ete/labs/windriver/apt-proxy.sh
parent2b7aef3e38d07551f9c5ca184f486cd5f574c209 (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> (cherry picked from commit ea1a5b7ade95eeda13b9ef97708040cc8f69e69c)
Diffstat (limited to 'test/ete/labs/windriver/apt-proxy.sh')
-rwxr-xr-xtest/ete/labs/windriver/apt-proxy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ete/labs/windriver/apt-proxy.sh b/test/ete/labs/windriver/apt-proxy.sh
index a492c5a30..f8bb32ff0 100755
--- a/test/ete/labs/windriver/apt-proxy.sh
+++ b/test/ete/labs/windriver/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