Browse Source
Merge pull request #81 from mirzak/fix-demo
remove --demo flag dependecy on --demo-host-ip
1.1.x
Adam Podogrocki
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
5 deletions
-
convert-stage-4.sh
|
@ -272,11 +272,6 @@ do_install_mender() { |
|
|
show_help |
|
|
show_help |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ -n "${demo}" ] && [ ${demo} -eq 1 ] && [ -z "${demo_host_ip}" ]; then |
|
|
|
|
|
log "Demo configuration requires demo_host_ip. Aborting." |
|
|
|
|
|
show_help |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# TODO: more error checking of server types |
|
|
# TODO: more error checking of server types |
|
|
if [ -n "${tenant_token}" ]; then |
|
|
if [ -n "${tenant_token}" ]; then |
|
|
mender_tenant_token=$(echo ${tenant_token} | tr -d '\n') |
|
|
mender_tenant_token=$(echo ${tenant_token} | tr -d '\n') |
|
|