full_install_osm.sh: fixes for docker proxy and docker tag for PLA 50/10150/4
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 17 Dec 2020 21:48:24 +0000 (21:48 +0000)
committerbeierlm <mark.beierl@canonical.com>
Fri, 15 Jan 2021 18:42:25 +0000 (19:42 +0100)
Change-Id: I272668b9461d3ccd1fc6509fa61dfd1765d824f5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index c5d1191..0c0ac2d 100755 (executable)
@@ -979,7 +979,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}"