From d160be0e7334257b18364f73eeaad0e4ac5328b7 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Sat, 26 Sep 2015 10:30:08 -0700 Subject: [PATCH] demo/digitalocean: fix after docker repo change --- demo/digitalocean/packer/nomad/packer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/demo/digitalocean/packer/nomad/packer.json b/demo/digitalocean/packer/nomad/packer.json index 4ec078d6c..5b7dd0b47 100644 --- a/demo/digitalocean/packer/nomad/packer.json +++ b/demo/digitalocean/packer/nomad/packer.json @@ -15,13 +15,13 @@ { "type": "shell", "inline": [ + "apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D", + "echo 'deb https://apt.dockerproject.org/repo ubuntu-precise main' > /etc/apt/sources.list.d/docker.list", "sudo apt-get -y update", - "sudo apt-get -y install unzip", + "sudo apt-get -y install unzip docker-engine", "curl -o /tmp/nomad.zip -L {{ user `bin_url` }}", "sudo unzip -d /usr/local/bin /tmp/nomad.zip", - "mkdir -p /usr/local/etc/nomad", - "curl -s https://get.docker.com/gpg | sudo apt-key add -", - "curl -s https://get.docker.com/ | sudo sh" + "mkdir -p /usr/local/etc/nomad" ] }, {