Configure keystone service password on MON env variables 53/10453/3
authorlimon <alimonj@indra.es>
Thu, 4 Mar 2021 12:43:09 +0000 (13:43 +0100)
committerlimon <alimonj@indra.es>
Wed, 10 Mar 2021 18:50:55 +0000 (19:50 +0100)
Change-Id: I04553aa703d2f4106d5bbf5585bec9ab2e202249
Signed-off-by: limon <alimonj@indra.es>
installers/full_install_osm.sh

index 05bfd06..0fcd10b 100755 (executable)
@@ -781,6 +781,7 @@ function generate_docker_env_files() {
 
     # MON
     if [ ! -f $OSM_DOCKER_WORK_DIR/mon.env ]; then
+        echo "OSMMON_KEYSTONE_SERVICE_PASSWORD=${SERVICE_PASSWORD}" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/mon.env
         echo "OSMMON_DATABASE_COMMONKEY=${OSM_DATABASE_COMMONKEY}" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/mon.env
         echo "OSMMON_SQL_DATABASE_URI=mysql://root:${MYSQL_ROOT_PASSWORD}@mysql:3306/mon" | $WORKDIR_SUDO tee -a $OSM_DOCKER_WORK_DIR/mon.env
     fi