OpenSearch/qa/remote-clusters/docker-test-entrypoint.sh

8 lines
261 B
Bash
Executable File

#!/usr/bin/env bash
set -e -o pipefail
cd /usr/share/opensearch/bin/
./opensearch-users useradd rest_user -p test-password -r superuser || true
echo "testnode" > /tmp/password
/usr/local/bin/docker-entrypoint.sh | tee > /usr/share/opensearch/logs/console.log