aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-rke
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2019-04-24 15:41:49 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-24 15:41:49 +0000
commitaee7302af295413f3cf34834dcd9c74f6aa2a1a3 (patch)
tree04fb26439faabdd8a80704b3a439cf3a4806e53b /deployment/heat/onap-rke
parentf20a2a56e8db908749f93a7932aa055dc445e6b3 (diff)
parent7ff8c6fcc4ed9bba3a0fa9fa41ba519ab89cb11e (diff)
Merge "Lock down docker install to 18.09.5"
Diffstat (limited to 'deployment/heat/onap-rke')
-rw-r--r--deployment/heat/onap-rke/k8s_vm_install.sh8
-rw-r--r--deployment/heat/onap-rke/onap-oom.yaml2
-rw-r--r--deployment/heat/onap-rke/parts/onap-oom-1.yaml2
3 files changed, 9 insertions, 3 deletions
diff --git a/deployment/heat/onap-rke/k8s_vm_install.sh b/deployment/heat/onap-rke/k8s_vm_install.sh
index ebd4563a9..cbd7be3d9 100644
--- a/deployment/heat/onap-rke/k8s_vm_install.sh
+++ b/deployment/heat/onap-rke/k8s_vm_install.sh
@@ -50,7 +50,13 @@ sed -i 's|http://archive.ubuntu.com|http://nova.clouds.archive.ubuntu.com|g' /et
while ! hash jq &> /dev/null; do
apt-get -y update
# apt-get -y dist-upgrade
- apt-get -y install curl jq nfs-common docker.io
+ apt-get -y install curl jq nfs-common
+ sleep 10
+done
+
+# install docker
+while ! hash docker &> /dev/null; do
+ curl https://releases.rancher.com/install-docker/__docker_version__.sh | sh
systemctl enable docker
usermod -aG docker ubuntu
sleep 10
diff --git a/deployment/heat/onap-rke/onap-oom.yaml b/deployment/heat/onap-rke/onap-oom.yaml
index 6b9d022fe..af26bfe37 100644
--- a/deployment/heat/onap-rke/onap-oom.yaml
+++ b/deployment/heat/onap-rke/onap-oom.yaml
@@ -69,7 +69,7 @@ parameters:
docker_version:
type: string
- default: "17.03.2"
+ default: "18.09.5"
rancher_version:
type: string
diff --git a/deployment/heat/onap-rke/parts/onap-oom-1.yaml b/deployment/heat/onap-rke/parts/onap-oom-1.yaml
index b1676b299..465485967 100644
--- a/deployment/heat/onap-rke/parts/onap-oom-1.yaml
+++ b/deployment/heat/onap-rke/parts/onap-oom-1.yaml
@@ -66,7 +66,7 @@ parameters:
docker_version:
type: string
- default: "17.03.2"
+ default: "18.09.5"
rancher_version:
type: string