Properly persistent configs
This commit is contained in:
13
2-nomad-config/age-install.sh
Normal file
13
2-nomad-config/age-install.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
export AGE_VERSION=v1.2.1
|
||||
|
||||
# Download the archive
|
||||
wget https://github.com/FiloSottile/age/releases/download/$AGE_VERSION/age-$AGE_VERSION-linux-amd64.tar.gz
|
||||
|
||||
# Extract the contents of the archive
|
||||
tar -xvf age-$AGE_VERSION-linux-amd64.tar.gz
|
||||
|
||||
# Move the binaries to a directory in our PATH
|
||||
sudo mv age/age* /usr/local/bin/
|
||||
|
||||
# Make the binaries executable
|
||||
sudo chmod +x /usr/local/bin/age*
|
||||
Reference in New Issue
Block a user