mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 14:35:04 +00:00
e73a410139
* Use set to make shell scripts more strict Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Change -o pipefail to -e Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Set scripts to standard rule Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
8 lines
261 B
Bash
Executable File
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
|