Skip to content

Commit a2bdfb9

Browse files
authored
Packaging: Update marker used to allow ELASTIC_PASSWORD (#37243)
This commit updates the file docker's entrypoint script looks for when deciding to process the ELASTIC_PASSWORD env var. The x-pack subdir of bin no longer exists in 7.0, where the backcompat layer for x-pack script locations was removed. closes #37240
1 parent 642e45e commit a2bdfb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/docker/src/docker/bin/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ done < <(env)
7575
# will run in.
7676
export ES_JAVA_OPTS="-Des.cgroups.hierarchy.override=/ $ES_JAVA_OPTS"
7777

78-
if [[ -d bin/x-pack ]]; then
78+
if [[ -f bin/elasticsearch-users ]]; then
7979
# Check for the ELASTIC_PASSWORD environment variable to set the
8080
# bootstrap password for Security.
8181
#

0 commit comments

Comments
 (0)