mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-10 16:50:46 +08:00
nm-quick netmaker edition upgrade fix (#2440)
nm-quick netmaker edition upgrade fix.
This commit is contained in:
parent
dd7e553472
commit
a40271d0e8
1 changed files with 4 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ while getopts evab:d:t: flag; do
|
||||||
case "${flag}" in
|
case "${flag}" in
|
||||||
e)
|
e)
|
||||||
INSTALL_TYPE="ee"
|
INSTALL_TYPE="ee"
|
||||||
|
UPGRADE_FLAG="yes"
|
||||||
;;
|
;;
|
||||||
v)
|
v)
|
||||||
usage
|
usage
|
||||||
|
|
@ -880,6 +881,9 @@ print_logo
|
||||||
if [ -f "$CONFIG_PATH" ]; then
|
if [ -f "$CONFIG_PATH" ]; then
|
||||||
echo "Using config: $CONFIG_PATH"
|
echo "Using config: $CONFIG_PATH"
|
||||||
source "$CONFIG_PATH"
|
source "$CONFIG_PATH"
|
||||||
|
if [ "$UPGRADE_FLAG" = "yes" ]; then
|
||||||
|
INSTALL_TYPE="ee"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 2. setup the build instructions
|
# 2. setup the build instructions
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue