full_install_osm.sh: fixes for docker proxy and docker tag for PLA 41/10141/5
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 17 Dec 2020 21:48:24 +0000 (21:48 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 20 Jan 2021 09:35:44 +0000 (09:35 +0000)
Change-Id: I272668b9461d3ccd1fc6509fa61dfd1765d824f5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index d7c1c6b..230a793 100755 (executable)
@@ -987,7 +987,7 @@ function parse_yaml() {
         if [ "$module" == "pla" ]; then
             if [ -n "$INSTALL_PLA" ]; then
                 echo "Updating K8s manifest file from opensourcemano\/${module}:.* to ${DOCKER_REGISTRY_URL}${DOCKER_USER}\/${module}:${TAG}"
-                $WORKDIR_SUDO sed -i "s#opensourcemano/pla:.*#${DOCKER_REGISTRY_URL}${DOCKER_USER}/pla:${OSM_DOCKER_TAG}#g" ${OSM_DOCKER_WORK_DIR}/osm_pla/pla.yaml
+                $WORKDIR_SUDO sed -i "s#opensourcemano/pla:.*#${DOCKER_REGISTRY_URL}${DOCKER_USER}/pla:${TAG}#g" ${OSM_DOCKER_WORK_DIR}/osm_pla/pla.yaml
             fi
         else
             echo "Updating K8s manifest file from opensourcemano\/${module}:.* to ${DOCKER_REGISTRY_URL}${DOCKER_USER}\/${module}:${TAG}"