Update install_osm.sh with new RELEASE and latest usage in full_install.osm 42/15542/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 25 Nov 2025 14:10:44 +0000 (15:10 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 25 Nov 2025 15:46:03 +0000 (16:46 +0100)
Change-Id: I428ca329f647d66f1e419ad55064d8ffa03794d6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/install_osm.sh

index f007bd9..a70b05e 100755 (executable)
 #   limitations under the License.
 #
 REPOSITORY_BASE=https://osm-download.etsi.org/repository/osm/debian
-RELEASE=ReleaseSIXTEEN
+RELEASE=ReleaseEIGHTEEN
 REPOSITORY=stable
 DOCKER_TAG="testing-daily"
 DEVOPS_PATH=/usr/share/osm-devops
 
 function usage(){
+    [ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
     echo -e "usage: $0 [OPTIONS]"
     echo -e "Install OSM"
     echo -e "  OPTIONS"
@@ -36,16 +37,16 @@ function usage(){
     echo -e "     -O <KUBECONFIG_FILE>: Kubeconfig of an existing cluster to be used as OSM cluster instead of creating a new one from scratch"
     echo -e "     --no-mgmt-cluster: Do not provision a mgmt cluster for cloud-native gitops operations in OSM (NEW in Release SIXTEEN) (by default, it is installed)"
     echo -e "     --no-aux-cluster: Do not provision an auxiliary cluster for cloud-native gitops operations in OSM (NEW in Release SIXTEEN) (by default, it is installed)"
-    echo -e "     -D <devops path>:   use local devops installation path"
-    echo -e "     -s <namespace>  namespace when installed using k8s, default is osm"
-    echo -e "     -w <work dir>:   Location to store runtime installation"
-    echo -e "     -K:             Specifies the name of the controller to use - The controller must be already bootstrapped"
+    echo -e "     -s <namespace>  namespace where OSM helm chart will be deployed (default is osm)"
     echo -e "     -d <docker registry URL> use docker registry URL instead of dockerhub"
     echo -e "     -p <docker proxy URL> set docker proxy URL as part of docker CE configuration"
     echo -e "     -m <MODULE>:    module to test a specific docker image (NG-UI, NBI, LCM, RO, MON) (can be used several times)"
     echo -e "     -T <docker tag> use specific docker tag for the module specified with option -m"
+    echo -e "     -U <docker user>: specify docker user to use when pulling images from a private registry"
+    echo -e "     -D <devops path>: use particular devops installation path"
+    echo -e "     -e <external IP>: set the external IP address of the OSM cluster (default is empty, which means autodetect)"
     echo -e "     --debug:        debug mode"
-    echo -e "     --uninstall:    uninstall OSM: remove the containers and delete NAT rules"
+    [ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
 }
 
 add_repo() {