Skip to content

Commit

Permalink
fixed packer elasticsearch setup (#101)
Browse files Browse the repository at this point in the history
removed service enable as it's done in userdata script

Co-authored-by: ecole <[email protected]>
  • Loading branch information
egorksv and ekfastlane authored Dec 24, 2020
1 parent 64792f9 commit 53691d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packer/install-elasticsearch7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@ else
apt-get install elasticsearch=$ES_VERSION
fi

mkdir /usr/share/elasticsearch/logs
mkdir /usr/share/elasticsearch/data
chown elasticsearch:elasticsearch /usr/share/elasticsearch/logs
chown elasticsearch:elasticsearch /usr/share/elasticsearch/data

mv elasticsearch.yml /etc/elasticsearch/elasticsearch.yml

0 comments on commit 53691d2

Please sign in to comment.