Skip to content

Commit dab3c8e

Browse files
authored
Revert to original nomad.sh config (#16)
1 parent 31de409 commit dab3c8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hashicorp/nomad.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ EOF
151151
echo -e '\e[38;5;198m'"++++ Nomad not installed, installing.."
152152
LATEST_URL=$(curl -sL https://releases.hashicorp.com/nomad/index.json | jq -r '.versions[].builds[].url' | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | egrep -v 'rc|beta' | egrep "linux.*$ARCH" | sort -V | tail -n1)
153153
echo "Latest URL: $LATEST_URL"
154-
# wget -q $LATEST_URL -O /tmp/nomad.zip
154+
wget -q $LATEST_URL -O /tmp/nomad.zip
155155
mkdir -p /usr/local/bin
156-
# (cd /usr/local/bin && unzip /tmp/nomad.zip)
156+
(cd /usr/local/bin && unzip /tmp/nomad.zip)
157157
# HACK: Nomad doesn't currently have support for cgroupsns, so Luiz Aoqui created a special build for this (not an official build...yet...maybe?)
158158
# You can download the binaries here: https://github.com/hashicorp/nomad/actions/runs/5312709136
159-
(cd /usr/local/bin && cp /vagrant/hashiqube/bin/linux-$ARCH/nomad /usr/local/bin/nomad)
159+
# (cd /usr/local/bin && cp /vagrant/hashiqube/bin/linux-$ARCH/nomad /usr/local/bin/nomad)
160160
echo -e '\e[38;5;198m'"++++ Installed `/usr/local/bin/nomad version` from $ARCH"
161161
echo "Doing CNI stuff"
162162
wget -q https://github.com/containernetworking/plugins/releases/download/v1.1.1/cni-plugins-linux-$ARCH-v1.1.1.tgz -O /tmp/cni-plugins.tgz

0 commit comments

Comments
 (0)