diff --git a/setup/setup-keystore.sh b/setup/setup-keystore.sh index 189046d..e25db69 100644 --- a/setup/setup-keystore.sh +++ b/setup/setup-keystore.sh @@ -31,7 +31,7 @@ echo "Generating Kibana Service Token..." # Generate new token TOKEN=$(/usr/share/elasticsearch/bin/elasticsearch-service-tokens create elastic/kibana default | cut -d '=' -f2 | tr -d ' ') echo "Kibana Service Token is: $TOKEN" -echo "KIBANA_SERVICE_ACCOUNT_TOKEN: $TOKEN" > $OUTPUT_KIBANA_TOKEN +echo "KIBANA_SERVICE_ACCOUNT_TOKEN=$TOKEN" > $OUTPUT_KIBANA_TOKEN # Replace current Keystore if [ -f "$OUTPUT_KEYSTORE" ]; then @@ -61,4 +61,4 @@ printf "About Reloading Settings: https://www.elastic.co/guide/en/elasticsearch/ printf "=====================================================\n" printf "Your 'elastic' user password is: $ELASTIC_PASSWORD\n" printf "Your Kibana Service Token is: $TOKEN\n" -printf "=====================================================\n" \ No newline at end of file +printf "=====================================================\n"