Browse Source

nm-quick netmaker edition upgrade fix (#2440)

nm-quick netmaker edition upgrade fix.
Farukh Khan 2 years ago
parent
commit
a40271d0e8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/nm-quick.sh

+ 4 - 0
scripts/nm-quick.sh

@@ -43,6 +43,7 @@ while getopts evab:d:t: flag; do
 	case "${flag}" in
 	e)
 		INSTALL_TYPE="ee"
+		UPGRADE_FLAG="yes"
 		;;
 	v)
 		usage
@@ -880,6 +881,9 @@ print_logo
 if [ -f "$CONFIG_PATH" ]; then
 	echo "Using config: $CONFIG_PATH"
 	source "$CONFIG_PATH"
+	if [ "$UPGRADE_FLAG" = "yes" ]; then
+		INSTALL_TYPE="ee"
+	fi
 fi
 
 # 2. setup the build instructions