Make the script file - insertOrUpdateObjectFormatList.sh (in metacat cn buildout) change the user name automatically
The default user on the script is
uid=dataone_cn_metacat,o=DATAONE,dc=ecoinformatics,dc=org. However, it is only for the test environment (cn-dev, sandbox and stage). The user for the production environment is
cn=dataone_cn_metacat,dc=dataone,dc=org. So we have to manually to change it when we use it on the production cns.
We could probably add a few lines to that script to call
hostname -f and check to see if it is a production CN, and change the
Subject if so