#!/bin/sh set -eu configure_elastic() { # Install the elastic archive keyring wget -q -O- https://artifacts.elastic.co/GPG-KEY-elasticsearch \ > /etc/apt/keyrings/elastic-keyring.asc # Enable the repository cat >/etc/apt/sources.list.d/elastic.list <