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:
Markos Chandras 2017-04-20 09:57:20 +01:00
parent 33cdf601a8
commit ffd2d5cf34
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -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