Changeset View
Changeset View
Standalone View
Standalone View
roles/opensearch/opensearch/files/security_initialize.sh
- This file was added.
Property | Old Value | New Value |
---|---|---|
File Mode | null | 100755 |
#!/bin/sh | |||||
set -e | |||||
OPENSEARCH_HOSTNAME=$1 | |||||
ROOT=/opt/opensearch | |||||
# Wait a little bit to let OpenSearch start | |||||
sleep 5 | |||||
bash $ROOT/plugins/opensearch-security/tools/securityadmin.sh \ | |||||
-cacert $ROOT/config/root-ca.pem \ | |||||
-cert $ROOT/config/admin.pem \ | |||||
-key $ROOT/config/admin.key \ | |||||
-f $ROOT/plugins/opensearch-security/securityconfig/internal_users.yml \ | |||||
-nhnv -icl \ | |||||
-h "$OPENSEARCH_HOSTNAME" | |||||
touch $ROOT/plugins/opensearch-security/securityconfig/.initialized |
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator