X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharmed_install.sh;h=7bec50e34efaff26e363015d0833521114bddfbe;hb=9c0d2b7f85bdeb84aeacc8caa5c5be645c3756f1;hp=fcb8c256303de3357e8edbbb47a41945f5d4b3aa;hpb=99f654d10d9c7f2ff05666f9dd32a8cbd42704ec;p=osm%2Fdevops.git diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index fcb8c256..7bec50e3 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -281,6 +281,9 @@ function deploy_charmed_osm(){ juju config -m $MODEL_NAME prometheus site_url=https://prometheus.${API_SERVER}.nip.io echo "Waiting for deployment to finish..." + grafana_leader=`juju status -m $MODEL_NAME grafana | grep "*" | cut -d "*" -f 1` + grafana_admin_password=`juju run -m $MODEL_NAME --unit $grafana_leader "echo \\$GF_SECURITY_ADMIN_PASSWORD"` + juju config -m $MODEL_NAME mon grafana_password=$grafana_admin_password check_osm_deployed echo "OSM with charms deployed" }