aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/labs/huawei/rancher_vm_entrypoint.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-19 12:28:33 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-19 12:28:33 -0800
commitb4b4f3145c20eb95cb6cc9a7c1db397558a4a892 (patch)
tree36620f15f3727b4f42ad0c0917d55b35d3f6fa03 /test/ete/labs/huawei/rancher_vm_entrypoint.sh
parentfe1deb3f4a651268b23a180666028014eea06476 (diff)
Refactored OOM heat template/env file locations
Change-Id: Ib0fcf2cac1fe209b252027d183f12ce7cdfee953 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/ete/labs/huawei/rancher_vm_entrypoint.sh')
-rw-r--r--test/ete/labs/huawei/rancher_vm_entrypoint.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/ete/labs/huawei/rancher_vm_entrypoint.sh b/test/ete/labs/huawei/rancher_vm_entrypoint.sh
deleted file mode 100644
index da1955446..000000000
--- a/test/ete/labs/huawei/rancher_vm_entrypoint.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash -x
-printenv
-
-echo `hostname -I` `hostname` >> /etc/hosts
-mkdir -p /etc/docker
-cat > /etc/docker/daemon.json <<EOF
-{
- "insecure-registries" : ["__docker_proxy__"]
-}
-EOF
-cat > /etc/apt/apt.conf.d/30proxy<<EOF
-Acquire::http { Proxy "http://__apt_proxy__"; };
-Acquire::https::Proxy "DIRECT";
-EOF
-apt-get -y update
-apt-get -y install docker.io
-usermod -aG docker ubuntu
-docker run --restart unless-stopped -d -p 8080:8080 rancher/server:v1.6.10