Pull Down the Default LSF Environment Assets as a JSON Payload:
The packages for
jq
andcurl
are required:Code Block yum install -y jq curl
CentOS EoL: You may need to ensure yum can still function due to recent End of Life cycle from RedHat for CentOS 7. The following command is an exmple mitigation for an internet-dependent yum repository:
Code Block sed -i -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*.repo yum clean all
Pull down from the MGMT_SERVER default assets for customization:
Code Block curl -X GET http://${MGMT_SERVER_IP}:5000/v1/env/lsf | jq > default-lsf-env.json
The asset will look like:
...