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:
parent
b21ee4ef6d
commit
5b3293c146
@ -32,7 +32,7 @@ Using Vagrant for fast local provisioning:
|
||||
* vagrant up
|
||||
* vagrant ssh
|
||||
* cd stacktach-sandbox
|
||||
* sudo ./build.sh
|
||||
* ./build.sh
|
||||
|
||||
Note:
|
||||
This uses sandbox defaults including the use of the Winchester
|
||||
|
1
vagrant/Vagrantfile
vendored
1
vagrant/Vagrantfile
vendored
@ -4,4 +4,5 @@
|
||||
Vagrant.configure(2) do |config|
|
||||
config.vm.box = "ubuntu/trusty64"
|
||||
config.vm.provision "shell", path: "bootstrap.sh"
|
||||
config.vm.provision "shell", inline: "git clone https://github.com/stackforge/stacktach-sandbox.git", privileged: false
|
||||
end
|
||||
|
@ -21,4 +21,3 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
git clone https://github.com/stackforge/stacktach-sandbox.git
|
||||
|
Loading…
Reference in New Issue
Block a user