fix new location for elasticsearch

master
Daniel Martinez 2018-07-24 02:25:42 -04:00
parent ada97d6309
commit f8557c909f
1 changed files with 2 additions and 6 deletions

View File

@ -13,13 +13,9 @@ echo "######################################################"
echo "install required packages" echo "install required packages"
echo "add key for elasticsearch repository" echo "add key for elasticsearch repository"
wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add - wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "add debian wheezy backports repository" echo "add debian wheezy backports repository"
# removed for the time being, potentially not required anymore echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
# sed -i '$s,$,\ndeb http://ftp.acc.umu.se./debian wheezy-backports main,' /etc/apt/sources.list
sed -i '$s,$,\ndeb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main,' /etc/apt/sources.list
echo "update package cache" echo "update package cache"
apt-get update apt-get update