Browse Source

remove --demo flag dependecy on --demo-host-ip

"--demo" should be possible to use with any server type.

Changelog: Allow to use "--demo" flag with any given server type

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
1.1.x
Mirza Krak 6 years ago
parent
commit
24cc90a989
  1. 5
      convert-stage-4.sh

5
convert-stage-4.sh

@ -272,11 +272,6 @@ do_install_mender() {
show_help
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
if [ -n "${tenant_token}" ]; then
mender_tenant_token=$(echo ${tenant_token} | tr -d '\n')

Loading…
Cancel
Save