Fix default installation mode when the flavour mentioned as "default" 75/14775/1
authoraravind.est <aravindhan.a@est.tech>
Fri, 1 Aug 2025 14:49:30 +0000 (15:49 +0100)
committeraravind.est <aravindhan.a@est.tech>
Fri, 1 Aug 2025 14:49:30 +0000 (15:49 +0100)
When there is no flavour supplied, the script should default to "default" mode.
If the flavour set to "default", it should print a message indicating that the default flavour is being used and should not ask for the *-flavour-config files.

Issue-ID: INT-170
Change-Id: I678c8b38e247d5ce65e3ed20caf8c42080b166c9
Signed-off-by: aravind.est <aravindhan.a@est.tech>
smo-install/scripts/layer-2/2-install-oran.sh

index 29686df..98779db 100755 (executable)
@@ -44,6 +44,9 @@ if [ -z "$1" ]
   then
     echo "No helm override flavour supplied, going to default"
     FLAVOUR="default"
+  elif [ "$1" = "default" ]
+  then
+    echo "Using helm override flavour: $FLAVOUR"
   else
     echo "Using helm override flavour: $FLAVOUR"
     if [ -f "../../helm-override/$FLAVOUR/onap-flavour-config.yaml" ]; then