Installer and docker-compose updated to work with Rel SEVEN repo and tags
[osm/devops.git] / installers / install_osm.sh
index 50c1111..0f5e6bb 100755 (executable)
@@ -13,9 +13,9 @@
 #   limitations under the License.
 #
 REPOSITORY_BASE=https://osm-download.etsi.org/repository/osm/debian
-RELEASE=ReleaseSIX
+RELEASE=ReleaseSEVEN
 REPOSITORY=stable
-DOCKER_TAG=6
+DOCKER_TAG=7
 
 function usage(){
     echo -e "usage: $0 [OPTIONS]"
@@ -90,7 +90,7 @@ add_repo() {
   return 1
 }
 
-while getopts "hr:R:u:t:" o; do
+while getopts ":hr:R:u:t:-:" o; do
     case "${o}" in
         h)
             usage && exit 0
@@ -107,6 +107,10 @@ while getopts "hr:R:u:t:" o; do
         t)
             OSM_DOCKER_TAG="${OPTARG}"
             ;;
+        -)
+            [ "${OPTARG}" == "help" ] && usage && exit 0
+            continue
+           ;;
         *)
             ;;
     esac