From c8a9d1667571220489e19bc6c545f28af1fd9726 Mon Sep 17 00:00:00 2001 From: Tyler Tidman Date: Tue, 9 Feb 2016 10:13:09 -0500 Subject: [PATCH] Add new vendoring stuff to vagrantfile --- Vagrantfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 1d0442d62..04ab735bd 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -20,6 +20,7 @@ sudo mkdir -p ${GOPATH} cat </tmp/gopath.sh export GOROOT="${GOROOT}" export GOPATH="${GOPATH}" +export GO15VENDOREXPERIMENT="1" # Not needed for Go 1.6 and up export PATH="${GOROOT}/bin:${GOPATH}/bin:\$PATH" EOF sudo mv /tmp/gopath.sh /etc/profile.d/gopath.sh @@ -31,6 +32,8 @@ sudo chown -R vagrant:vagrant ${GOPATH} # Install some other stuff we need sudo apt-get update sudo apt-get install -y curl make git mercurial bzr zip + +go get github.com/mitchellh/packer SCRIPT Vagrant.configure(2) do |config|