update Vagrant to use Nomad 1.1.0
This commit is contained in:
parent
4549f984a0
commit
c5dd9b6714
8
Vagrantfile
vendored
8
Vagrantfile
vendored
@ -35,12 +35,12 @@ Vagrant.configure("2") do |config|
|
||||
rm -f go1.14.3.linux-amd64.tar.gz
|
||||
fi
|
||||
|
||||
# Install nomad-1.0.2
|
||||
# Install nomad-1.1.0
|
||||
if [ ! -f "/usr/bin/nomad" ]; then
|
||||
wget --quiet https://releases.hashicorp.com/nomad/1.0.2/nomad_1.0.2_linux_amd64.zip
|
||||
unzip nomad_1.0.2_linux_amd64.zip -d /usr/bin
|
||||
wget --quiet https://releases.hashicorp.com/nomad/1.1.0/nomad_1.1.0_linux_amd64.zip
|
||||
unzip nomad_1.1.0_linux_amd64.zip -d /usr/bin
|
||||
chmod +x /usr/bin/nomad
|
||||
rm -f nomad_1.0.2_linux_amd64.zip
|
||||
rm -f nomad_1.1.0_linux_amd64.zip
|
||||
fi
|
||||
|
||||
# Install containerd-1.3.4
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
export NOMAD_VERSION=1.0.2
|
||||
export NOMAD_VERSION=1.1.0
|
||||
export CONTAINERD_VERSION=1.3.4
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
export PATH=$PATH:/usr/local/bin
|
||||
@ -144,7 +144,7 @@ EOF
|
||||
sudo chmod +x /usr/local/go
|
||||
rm -f go${GO_VERSION}.linux-amd64.tar.gz
|
||||
|
||||
# Install nomad 1.0.2
|
||||
# Install nomad 1.1.0
|
||||
curl -L -o nomad_${NOMAD_VERSION}_linux_amd64.zip https://releases.hashicorp.com/nomad/${NOMAD_VERSION}/nomad_${NOMAD_VERSION}_linux_amd64.zip
|
||||
sudo unzip -d /usr/local/bin nomad_${NOMAD_VERSION}_linux_amd64.zip
|
||||
sudo chmod +x /usr/local/bin/nomad
|
||||
|
Loading…
x
Reference in New Issue
Block a user