diff --git a/vm/install_elasticsearch.sh b/vm/install_elasticsearch.sh index bfd1970f..594e4628 100755 --- a/vm/install_elasticsearch.sh +++ b/vm/install_elasticsearch.sh @@ -1,5 +1,5 @@ #!/bin/sh -curl -sL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - +curl -sL https://artifacts.elastic.co/GPG-KEY-elasticsearch > /etc/apt/trusted.gpg.d/elasticsearch.asc echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" > /etc/apt/sources.list.d/elasticsearch.list apt-get update -qq apt-get -y install elasticsearch