Minor fix to charmed installer. Expose OSM_HOSTNAME properly 21/10421/1
authorDavid Garcia <david.garcia@canonical.com>
Tue, 2 Mar 2021 11:20:14 +0000 (12:20 +0100)
committerDavid Garcia <david.garcia@canonical.com>
Tue, 2 Mar 2021 11:20:14 +0000 (12:20 +0100)
Change-Id: I585eb7f490099fc9a86d072ab8e9a4b40ee378b9
Signed-off-by: David Garcia <david.garcia@canonical.com>
installers/charmed_install.sh

index 98e722a..e215ef2 100755 (executable)
@@ -500,7 +500,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