Upgrade demo vm to xenial/16.04 as well

This commit is contained in:
Michael Schurter 2017-01-27 13:34:53 -08:00
parent 0059bca6b3
commit 51dc39dae9
1 changed files with 2 additions and 2 deletions

View File

@ -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