mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Upgrade demo vm to xenial/16.04 as well
This commit is contained in:
4
demo/vagrant/Vagrantfile
vendored
4
demo/vagrant/Vagrantfile
vendored
@@ -4,7 +4,7 @@
|
||||
$script = <<SCRIPT
|
||||
# Update apt and get dependencies
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y unzip curl wget vim
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y unzip curl wget vim
|
||||
|
||||
# Download Nomad
|
||||
echo Fetching Nomad...
|
||||
@@ -25,7 +25,7 @@ sudo sed -i -e "s/.*nomad.*/$(ip route get 1 | awk '{print $NF;exit}') nomad/" /
|
||||
SCRIPT
|
||||
|
||||
Vagrant.configure(2) do |config|
|
||||
config.vm.box = "puphpet/ubuntu1404-x64"
|
||||
config.vm.box = "ubuntu/xenial64" # 16.04 LTS
|
||||
config.vm.hostname = "nomad"
|
||||
config.vm.provision "shell", inline: $script, privileged: false
|
||||
config.vm.provision "docker" # Just install it
|
||||
|
||||
Reference in New Issue
Block a user