Minor fix to charmed installer. Expose OSM_HOSTNAME properly 22/10422/2
authorDavid Garcia <david.garcia@canonical.com>
Tue, 2 Mar 2021 11:20:14 +0000 (12:20 +0100)
committerbeierlm <mark.beierl@canonical.com>
Tue, 2 Mar 2021 14:47:46 +0000 (15:47 +0100)
Change-Id: I585eb7f490099fc9a86d072ab8e9a4b40ee378b9
Signed-off-by: David Garcia <david.garcia@canonical.com>
installers/charmed_install.sh

index 7f05e04..4e86d6a 100755 (executable)
@@ -459,7 +459,7 @@ install_snaps
 bootstrap_k8s_lxd
 deploy_charmed_osm
 install_osmclient
-OSM_HOSTNAME=$(juju config nbi site_url | sed "s/http.*\?:\/\///"):443
+export OSM_HOSTNAME=$(juju config nbi site_url | sed "s/http.*\?:\/\///"):443
 add_local_k8scluster
 
 if [ -v MICROSTACK ]; then