Last active
December 5, 2023 16:31
-
-
Save keevie/6a9ff65cea127cb45b6b2b3c72780318 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if test ! -f /usr/share/keyrings/hashicorp-archive-keyring.gpg; then | |
curl -o- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg | |
fi | |
if test ! -f /etc/apt/sources.list.d/hashicorp.list; then | |
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" \ | |
> /etc/apt/sources.list.d/hashicorp.list | |
fi | |
apt-get -y update | |
apt-get -y install nomad=1.6.3-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment