@mellenburg I tried ./cli_script.sh script and it does not work.
shannon-2:tweeter senthil$ ./cli_script.sh --stable
09/07/16 20:38:19: Setting DCOS CLI to use http://52.37.100.182
09/07/16 20:38:19: Executing: dcos config set core.dcos_url http://52.37.100.182
[core.dcos_url]: already set to 'http://52.37.100.182'
09/07/16 20:38:19: Starting DC/OS Enterprise Demo
09/07/16 20:38:19: Override default credentials with --user and --pw
09/07/16 20:38:19: Executing: ee_login
spawn dcos auth login
Please go to the following link in your browser:
http://52.37.100.182/login?redirect_uri=urn:ietf:wg:oauth:2.0:oob
Enter authentication token: bootstrapuser
Please go to the following link in your browser:
http://52.37.100.182/login?redirect_uri=urn:ietf:wg:oauth:2.0:oob
Enter authentication token: eyJ0eXAiOiJKV1QiLCJhbGc...
Please go to the following link in your browser:
http://52.37.100.182/login?redirect_uri=urn:ietf:wg:oauth:2.0:oob
Enter authentication token: 09/07/16 20:38:49: Retrieving service account JSON...
09/07/16 20:38:49: Executing: dcos marathon app add get_sa.json
Please go to the following link in your browser:
http://52.37.100.182/login?redirect_uri=urn:ietf:wg:oauth:2.0:oob
Enter authentication token: 09/07/16 20:38:52: Service account JSON: Forked command at 5859
09/07/16 20:38:52: Executing: dcos marathon app remove saread
09/07/16 20:38:53: Service account JSON collection complete
09/07/16 20:38:53: Get auth headers to do calls outside of DC/OS CLI (secrets)
09/07/16 20:38:53: Logging in with: curl -kfSslv -H 'content-type: application/json' -X POST -d @login.json http://52.37.100.182/acs/api/v1/auth/login
* Trying 52.37.100.182...
* Connected to 52.37.100.182 (52.37.100.182) port 80 (#0)
> POST /acs/api/v1/auth/login HTTP/1.1
> Host: 52.37.100.182
> User-Agent: curl/7.43.0
> Accept: */*
> content-type: application/json
> Content-Length: 51
>
} [51 bytes data]
* upload completely sent off: 51 out of 51 bytes
* The requested URL returned error: 400 Bad Request
* Closing connection 0
curl: (22) The requested URL returned error: 400 Bad Request
shannon-2:tweeter senthil$
@mellenburg I tried ./cli_script.sh script and it does not work.