Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Prevent auto creation of indices
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Sturm committed Jan 31, 2019
1 parent a941cc0 commit 003889b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packer/scripts/install_ami.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ apt-get install -y nginx

# configure Elasticsearch
sed -i 's/#cluster.name.*/cluster.name: graylog/g' /etc/elasticsearch/elasticsearch.yml
echo 'action.auto_create_index: false' >> /etc/elasticsearch/elasticsearch.yml

# Prepare Graylog configuration for first boot
touch /var/lib/graylog-server/firstboot
Expand Down
1 change: 1 addition & 0 deletions packer/scripts/install_ova.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ apt-get install -y nginx

# configure Elasticsearch
sed -i 's/#cluster.name.*/cluster.name: graylog/g' /etc/elasticsearch/elasticsearch.yml
echo 'action.auto_create_index: false' >> /etc/elasticsearch/elasticsearch.yml

# Prepare Graylog configuration for first boot
touch /var/lib/graylog-server/firstboot
Expand Down

0 comments on commit 003889b

Please sign in to comment.