summaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-08-15 12:31:46 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-08-15 12:40:48 -0700
commit7a04b3d35d26d45191a1afc080981401b55dbb92 (patch)
tree17be64f1c22532b82063962ae38793c79fc80555 /deployment/heat/onap-oom/k8s_vm_entrypoint.sh
parentacbbe67aa4fd06c3c445d2a93b6700ae0ecddc23 (diff)
Upgrade helm version to 2.9.1
Change-Id: I7fe74f43ff76a33225fad6102be5d429fd30197f Issue-ID: OOM-1299 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/k8s_vm_entrypoint.sh')
-rw-r--r--deployment/heat/onap-oom/k8s_vm_entrypoint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
index 11d805799..54a674125 100644
--- a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
+++ b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
@@ -12,6 +12,7 @@
printenv
mkdir -p /opt/config
+echo "__docker_version__" > /opt/config/docker_version.txt
echo "__rancher_ip_addr__" > /opt/config/rancher_ip_addr.txt
echo "__rancher_private_ip_addr__" > /opt/config/rancher_private_ip_addr.txt
HOST_IP=$(hostname -I)
@@ -41,7 +42,7 @@ apt-get -y install linux-image-extra-$(uname -r) jq nfs-common
cd ~
# install docker 17.03
-curl -s https://releases.rancher.com/install-docker/17.03.sh | sh
+curl -s https://releases.rancher.com/install-docker/__docker_version__.sh | sh
usermod -aG docker ubuntu
# Fix virtual memory allocation for onap-log:elasticsearch: