v2.4.0.0 Uploading LSF Application Environment
Validate and Push the Customized Environment to the MGMT_SERVER
Validate the JSON asset with
jq
:jq . env0.json
You will see well-formatted JSON if
jq
can read the file, indicating no errors. If you see an error message, that means the JSON is not valid.
When the JSON is valid, the file can be pushed to the MGMT_SERVER:
curl -d "@env0.json" -H 'Content-Type: application/json' -X PUT http://${MGMT_SERVER_IP}:5000/v1/env