From 688201c1a862b3cdcc313093aa1d49fc10e034ae Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Thu, 15 Feb 2018 12:05:26 -0800 Subject: Use local docker proxy for TLAB Change-Id: I2ba86b0e34594bb9054bafb52b0780abbc2b2e10 Issue-ID: INT-414 Signed-off-by: Gary Wu --- test/ete/labs/tlab/apt-proxy.sh | 16 ++++++++++++++++ test/ete/labs/tlab/onap-openstack-template.env | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 test/ete/labs/tlab/apt-proxy.sh (limited to 'test') diff --git a/test/ete/labs/tlab/apt-proxy.sh b/test/ete/labs/tlab/apt-proxy.sh new file mode 100755 index 000000000..f2094ee2f --- /dev/null +++ b/test/ete/labs/tlab/apt-proxy.sh @@ -0,0 +1,16 @@ +#!/bin/bash +sed -i '/#!\/bin\/bash/a\ + mkdir -p /etc/docker\ + cat > /etc/docker/daemon.json < /etc/apt/apt.conf.d/30proxy<