X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Finstall_osm.sh;h=77bca85c02bd980aecca18f960ff21b72dc6069f;hb=5e4a751f2d5291e19488534e07d78d9f459a436a;hp=01d96e9d7c8989d29805c830cca23ecc7d1c2b35;hpb=93dd1312e75bdd2a9723afa9330956db47e6870f;p=osm%2Fdevops.git diff --git a/installers/install_osm.sh b/installers/install_osm.sh index 01d96e9d..77bca85c 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -64,6 +64,12 @@ function usage(){ #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 : Specify with which bundle to deploy OSM with charms (--charmed option)" + echo -e " --kubeconfig : Specify with which kubernetes to deploy OSM with charms (--charmed option)" + echo -e " --lxdendpoint : Specify with which LXD to deploy OSM with charms (--charmed option)" + echo -e " --lxdcert : Specify external LXD cert to deploy OSM with charms (--charmed option)" + } add_repo() { @@ -115,7 +121,7 @@ while getopts ":b:r:c:k:u:R:l:p:D:o:m:H:S:s:w:t:U:P:A:-: hy" o; do ;; -) [ "${OPTARG}" == "help" ] && usage && exit 0 - ;; + ;; :) echo "Option -$OPTARG requires an argument" >&2 usage && exit 1