From 7ff8c6fcc4ed9bba3a0fa9fa41ba519ab89cb11e Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 24 Apr 2019 07:50:11 -0700 Subject: Lock down docker install to 18.09.5 Change-Id: I7bf2801e7b31024d9cdb1b45a95e5ac2fd8248de Issue-ID: OOM-1598 Signed-off-by: Gary Wu --- deployment/heat/onap-rke/k8s_vm_install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'deployment/heat/onap-rke/k8s_vm_install.sh') 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 -- cgit 1.2.3-korg