Skip to content

Commit

Permalink
Fix docker entrypoint for elastic-agent.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse committed Feb 22, 2021
1 parent 7f92834 commit 44a3b47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function enroll(){
insecure_flag="--insecure"
fi

./{{ .BeatName }} enroll ${insecure_flag} ${KIBANA_HOST:-http://localhost:5601} $apikey -f
./{{ .BeatName }} enroll ${insecure_flag} -f --url=${KIBANA_HOST:-http://localhost:5601} --enrollment-token=$apikey
}

if [[ -n "${FLEET_SETUP}" ]] && [[ ${FLEET_SETUP} == 1 ]]; then setup; fi
Expand Down

0 comments on commit 44a3b47

Please sign in to comment.