Feature 8583
This feature will enable the installation of OSM with
charms on top of Kubernetes (microk8s by default).
Instructions to test this before Merge:
Change path to local full_install_osm.sh in
line 145 in install_osm.sh
Change path to local charmed_install.sh and
charmed_uninstall.sh in line 1285 and 1287 in
full_install_osm.sh
Afterwards, just execute:
./install_osm.sh --charmed
For uninstall
./install_osm.sh --uninstall
Change-Id: I6dfe0831ea5e2c265a365b41638e807106076346
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
diff --git a/installers/install_osm.sh b/installers/install_osm.sh
index 01d96e9..77bca85 100755
--- a/installers/install_osm.sh
+++ b/installers/install_osm.sh
@@ -64,6 +64,12 @@
#echo -e " --clean_volumes To clear all the mounted volumes from docker swarm"
echo -e " -y: do not prompt for confirmation, assumes yes"
echo -e " -h / --help: print this help"
+ echo -e " --charmed: install OSM with charms"
+ echo -e " --bundle <bundle path>: Specify with which bundle to deploy OSM with charms (--charmed option)"
+ echo -e " --kubeconfig <kubeconfig path>: Specify with which kubernetes to deploy OSM with charms (--charmed option)"
+ echo -e " --lxdendpoint <lxd endpoint ip>: Specify with which LXD to deploy OSM with charms (--charmed option)"
+ echo -e " --lxdcert <lxd cert path>: Specify external LXD cert to deploy OSM with charms (--charmed option)"
+
}
add_repo() {
@@ -115,7 +121,7 @@
;;
-)
[ "${OPTARG}" == "help" ] && usage && exit 0
- ;;
+ ;;
:)
echo "Option -$OPTARG requires an argument" >&2
usage && exit 1