Project

General

Profile

Feature #8376

Make the script file - insertOrUpdateObjectFormatList.sh (in metacat cn buildout) change the user name automatically

Added by Jing Tao about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
d1_cn_buildout
Target version:
-
Start date:
2018-02-21
Due date:
% Done:

0%

Milestone:
None
Product Version:
*
Story Points:

Description

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)