Vagrantfile: Do not run the tox tests as root
By default, Vagrant runs the provision script as root. However, in the OpenStack CI such tests are being executed as normal user so we observe different behaviors when we compare the tests results between these two platforms. As such, add 'privileged: false' to the Vagrantfile to make Vagrant provision the VM as normal user. Closes-Bug: 1682108 Change-Id: Ia4887d90d77110a88030a1958f57eddce5c4b2c2
This commit is contained in:
parent
33cdf601a8
commit
ffd2d5cf34
|
@ -5,8 +5,8 @@ Vagrant.configure(2) do |config|
|
|||
end
|
||||
|
||||
config.vm.provision "shell",
|
||||
privileged: false,
|
||||
inline: <<-SHELL
|
||||
sudo su -
|
||||
cd /vagrant
|
||||
./run_tests.sh
|
||||
SHELL
|
||||
|
|
Loading…
Reference in New Issue