fix(install): reset ee cli args
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
parent
c5c7764212
commit
ebc633d147
1 changed files with 4 additions and 2 deletions
|
|
@ -17,15 +17,17 @@ domain_name=`grep domain_name vars.yaml | grep -v "example" | cut -d " " -f2 | c
|
|||
}
|
||||
}
|
||||
|
||||
[[ $1 == "ee" ]] || {
|
||||
[[ $1 == "ee" ]] && {
|
||||
[[ $2 == "" ]] || {
|
||||
sed -i "s#enterprise_edition_license.*#enterprise_edition_license: ${2}#g" vars.yaml
|
||||
} && {
|
||||
echo """Enerprise key is missing.
|
||||
echo """Enerprise edition license key is missing.
|
||||
Usage: ./install.sh ee XXXXXXXXXXXXX
|
||||
"""
|
||||
exit 1
|
||||
}
|
||||
# Resetting command line arguments.
|
||||
shift 2
|
||||
}
|
||||
|
||||
# https://parrot.asayer.io/os/license
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue