added missing yes command to es plugin install

This commit is contained in:
André Bauer 2017-09-17 09:49:34 +02:00
parent ad56a6c983
commit 70eace5581

View file

@ -221,7 +221,7 @@ function create_webserver_config () {
function setup_elasticsearch () { function setup_elasticsearch () {
echo "# Configuring Elasticsearch..." echo "# Configuring Elasticsearch..."
/usr/share/elasticsearch/bin/elasticsearch-plugin install mapper-attachments yes | /usr/share/elasticsearch/bin/elasticsearch-plugin install mapper-attachments
${INIT_CMD} restart elasticsearch ${INIT_CMD} restart elasticsearch
zammad run rails r "Setting.set('es_url', \"${ES_CONNECTION:-http://127.0.0.1:9200}\")" zammad run rails r "Setting.set('es_url', \"${ES_CONNECTION:-http://127.0.0.1:9200}\")"
} }