#!/bin/bash

set -e  # exit on any error
sleep 15
printf "y\nchangeme\nchangeme\nchangeme\nchangeme\nchangeme\nchangeme\nchangeme\nchangeme\nchangeme\nchangeme\nchangeme\nchangeme\n" | /usr/share/elasticsearch/bin/elasticsearch-setup-passwords interactive || true
