Update Vagrant script to avoid needing sudo for build.sh

* Update Vagrantfile to run git clone command as unprivileged to avoid having root own the directory
* Update README to reflect changed command

Change-Id: Ibfde4f9cce2367ee44afb43dbafbaf6d626d7381
This commit is contained in:
Levi Blackstone 2015-02-19 08:44:59 -06:00
parent b21ee4ef6d
commit 5b3293c146
3 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ Using Vagrant for fast local provisioning:
* vagrant up * vagrant up
* vagrant ssh * vagrant ssh
* cd stacktach-sandbox * cd stacktach-sandbox
* sudo ./build.sh * ./build.sh
Note: Note:
This uses sandbox defaults including the use of the Winchester This uses sandbox defaults including the use of the Winchester

1
vagrant/Vagrantfile vendored
View File

@ -4,4 +4,5 @@
Vagrant.configure(2) do |config| Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64" config.vm.box = "ubuntu/trusty64"
config.vm.provision "shell", path: "bootstrap.sh" config.vm.provision "shell", path: "bootstrap.sh"
config.vm.provision "shell", inline: "git clone https://github.com/stackforge/stacktach-sandbox.git", privileged: false
end end

View File

@ -21,4 +21,3 @@ then
fi fi
fi fi
git clone https://github.com/stackforge/stacktach-sandbox.git