dev(vagrant): make scripts run as non-privileged default user
The scripts were excuted in the vagrant file as root, which was confusing some users, and addtionally meant we were not checking if sudo was being prefixed to the appropriate commands. Signed-off-by: Pete Birley <pete@port.direct> Change-Id: I1049c68d6644de6c4f74e52cf81d59c4c174b291
This commit is contained in:
parent
37b6d1c63a
commit
85d1116c56
2
tools/deployment/vagrant/Vagrantfile
vendored
2
tools/deployment/vagrant/Vagrantfile
vendored
@ -29,7 +29,7 @@ Vagrant.configure("2") do |config|
|
||||
vb.memory = 8192
|
||||
end
|
||||
|
||||
config.vm.provision "shell", env: {"PRIVATE_NS" => ENV["PRIVATE_NS"]}, inline: <<-SHELL
|
||||
config.vm.provision "shell", privileged: false, env: {"PRIVATE_NS" => ENV["PRIVATE_NS"]}, inline: <<-SHELL
|
||||
set -ex
|
||||
cd /airship_charts/
|
||||
./tools/gate/jarvis/010-pre-setup.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user