Download ucp images from cache 3.5.x
Related-Prod: PRODX-3456
Change-Id: If4692a987272b54e99d9a4606413eed502cbf1b1
diff --git a/de/heat-templates/scripts/instance_boot.sh b/de/heat-templates/scripts/instance_boot.sh
index a763877..db1758b 100644
--- a/de/heat-templates/scripts/instance_boot.sh
+++ b/de/heat-templates/scripts/instance_boot.sh
@@ -320,7 +320,7 @@
local image_prefix=${DOCKER_UCP_IMAGE%/*}
local image_name=${DOCKER_UCP_IMAGE##*/}
- if [[ "$image_name" =~ .*3.3.* ]]; then
+ if [[ "$image_name" =~ .*3.3.* || "$image_name" =~ .*3.5.* ]]; then
for image in $(docker container run --rm --name ucp -v /var/run/docker.sock:/var/run/docker.sock ${DOCKER_UCP_IMAGE} images --list); do
pull_image "${image_prefix}/${image##*/}"
docker tag ${image_prefix}/${image##*/} ${image}