From d83efffdf04f9829347c6fd5f6b84e005e0bb4a0 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Tue, 9 Jan 2018 16:47:30 -0800 Subject: Add support for lab apt proxies Change-Id: Ic30d45f3ac088637fb680f77bbaf7871a07a6428 Issue-ID: INT-278 Signed-off-by: Gary Wu (cherry picked from commit 3e2711149d797ad2731fe3fd4773ad2eaa12e7c8) --- test/ete/labs/gwu/apt-proxy.sh | 7 ++ test/ete/labs/gwu/onap-openrc | 9 ++ test/ete/labs/gwu/onap-openstack-template.env | 142 ++++++++++++++++++++++++++ test/ete/labs/huawei/apt-proxy.sh | 7 ++ 4 files changed, 165 insertions(+) create mode 100755 test/ete/labs/gwu/apt-proxy.sh create mode 100644 test/ete/labs/gwu/onap-openrc create mode 100644 test/ete/labs/gwu/onap-openstack-template.env create mode 100755 test/ete/labs/huawei/apt-proxy.sh (limited to 'test/ete/labs') diff --git a/test/ete/labs/gwu/apt-proxy.sh b/test/ete/labs/gwu/apt-proxy.sh new file mode 100755 index 000000000..14b272566 --- /dev/null +++ b/test/ete/labs/gwu/apt-proxy.sh @@ -0,0 +1,7 @@ +#!/bin/bash +sed -i '/#!\/bin\/bash/a\ + cat > /etc/apt/apt.conf.d/30proxy< /etc/apt/apt.conf.d/30proxy<