Add new vendoring stuff to vagrantfile

This commit is contained in:
Tyler Tidman 2016-02-09 10:13:09 -05:00
parent 7fa5bcd5d7
commit c8a9d16675
1 changed files with 3 additions and 0 deletions

3
Vagrantfile vendored
View File

@ -20,6 +20,7 @@ sudo mkdir -p ${GOPATH}
cat <<EOF >/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|