Fix the osm bundle names
Fixes the following problem:
- ERROR The charm or bundle "osm" is ambiguous.
- This was happening if a folder "osm" existed in the current directory
Change-Id: If7a56249b0ce5601761a7cebfa87392715abff62
Signed-off-by: David Garcia <david.garcia@canonical.com>
diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh
index 228a0e0..b411dbb 100755
--- a/installers/charmed_install.sh
+++ b/installers/charmed_install.sh
@@ -27,7 +27,7 @@
--lxd) LXD_CLOUD="$2" ;;
--lxd-cred) LXD_CREDENTIALS="$2" ;;
--microstack) MICROSTACK=y ;;
- --ha) BUNDLE="osm-ha" ;;
+ --ha) BUNDLE="cs:osm-ha" ;;
--tag) TAG="$2" ;;
esac
shift
@@ -136,7 +136,7 @@
else
images_overlay=""
[ -v TAG ] && generate_images_overlay && images_overlay="--overlay $IMAGES_OVERLAY_FILE"
- juju deploy osm --overlay ~/.osm/vca-overlay.yaml $images_overlay
+ juju deploy cs:osm --overlay ~/.osm/vca-overlay.yaml $images_overlay
fi
echo "Waiting for deployment to finish..."
check_osm_deployed &> /dev/null