Commit 8e5d7aa9 authored by Michael Schurter's avatar Michael Schurter Committed by GitHub
Browse files

Merge pull request #3196 from hashicorp/b-fix-vagrant-perms

Fix permissions of $GOPATH in Vagrantfile
parents cd8912bf 7e3d975b
Showing with 2 additions and 6 deletions
+2 -6
......@@ -19,7 +19,7 @@ Vagrant.configure(2) do |config|
'/opt/gopath/src/github.com/hashicorp/nomad'
vmCfg.vm.provision "shell",
privileged: true,
privileged: false,
path: './scripts/vagrant-linux-unpriv-bootstrap.sh'
end
......
......@@ -21,11 +21,7 @@ install_go
# Ensure that the GOPATH tree is owned by vagrant:vagrant
mkdir -p /opt/gopath
chown vagrant:vagrant \
/opt/gopath \
/opt/gopath/src \
/opt/gopath/src/github.com \
/opt/gopath/src/github.com/hashicorp
chown -R vagrant:vagrant /opt/gopath
# Ensure Go is on PATH
if [ ! -e /usr/bin/go ] ; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment