Mettre à jour 'elastic/elastic_install.sh'
This commit is contained in:
@@ -8,13 +8,11 @@ elif [ -f /etc/redhat-release ]; then
|
||||
DESTDIR="/etc/yum.repos.d"
|
||||
DESTFILE="elasticsearch.repo"
|
||||
DESTFILE="$DESTDIR/$DESTFILE"
|
||||
|
||||
|
||||
rpm -y --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
echo "[elasticsearch-6.x]">"$DESTFILE"
|
||||
echo "name=Elasticsearch repository for 6.x packages">>"$DESTFILE"
|
||||
echo "baseurl=https://artifacts.elastic.co/packages/6.x/yum">>"$DESTFILE"
|
||||
echo "echo "gpgcheck=1">>"$DESTFILE"
|
||||
echo "echo gpgcheck=1">>"$DESTFILE"
|
||||
echo "gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch">>"$DESTFILE"
|
||||
echo "enabled=1">>"$DESTFILE"
|
||||
echo "autorefresh=1">>"$DESTFILE"
|
||||
|
||||
Reference in New Issue
Block a user