aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/labs/windriver/apt-proxy.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-02-14 17:04:05 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-02-14 17:04:05 -0800
commit5c84a1876fbb78a376fe210b967caa4132b272d6 (patch)
tree8867bc4cab504ca8ae3ca249295de99af6a89158 /test/ete/labs/windriver/apt-proxy.sh
parent06de16ad21868809e1b96d15962f4cd3db1ee1f6 (diff)
Change IP addr of docker proxy in windriver lab
Change-Id: I3d817abd9a5068ea128163d24fa9804dbfa69142 Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/ete/labs/windriver/apt-proxy.sh')
-rwxr-xr-xtest/ete/labs/windriver/apt-proxy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ete/labs/windriver/apt-proxy.sh b/test/ete/labs/windriver/apt-proxy.sh
index f8bb32ff0..54b15bba6 100755
--- a/test/ete/labs/windriver/apt-proxy.sh
+++ b/test/ete/labs/windriver/apt-proxy.sh
@@ -3,11 +3,11 @@ sed -i '/#!\/bin\/bash/a\
mkdir -p /etc/docker\
cat > /etc/docker/daemon.json <<EOF\
{\
- "insecure-registries" : ["10.12.5.80:5000"]\
+ "insecure-registries" : ["10.12.5.2:5000"]\
}\
EOF\
cat > /etc/apt/apt.conf.d/30proxy<<EOF\
- Acquire::http { Proxy "http://10.12.5.80:3142"; };\
+ Acquire::http { Proxy "http://10.12.5.2:3142"; };\
Acquire::https::Proxy "DIRECT";\
EOF\
apt-get -y update' $1