X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Finstall_osm.sh;h=77bca85c02bd980aecca18f960ff21b72dc6069f;hb=5e4a751f2d5291e19488534e07d78d9f459a436a;hp=2481cd5fd937fb5ca1f567dccef1a661d43ddd6c;hpb=25e87d22a56148f402139f1096f227857be38aca;p=osm%2Fdevops.git diff --git a/installers/install_osm.sh b/installers/install_osm.sh index 2481cd5f..77bca85c 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -13,9 +13,9 @@ # limitations under the License. # REPOSITORY_BASE=https://osm-download.etsi.org/repository/osm/debian -RELEASE=ReleaseSEVEN-daily -REPOSITORY=testing -DOCKER_TAG=releaseseven +RELEASE=ReleaseSEVEN +REPOSITORY=stable +DOCKER_TAG=7 function usage(){ echo -e "usage: $0 [OPTIONS]" @@ -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