tests: create as many drives for virtualbox as libvirt

This just ensures that virtualbox and libvirt are making
the same amount of devices for tests.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/3564/head
Andrew Schoen 2019-01-10 13:06:17 -06:00 committed by Sébastien Han
parent c53ccab0b2
commit 3d4beaf952
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -477,7 +477,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
'--add', 'scsi'] '--add', 'scsi']
end end
(0..1).each do |d| (0..2).each do |d|
vb.customize ['createhd', vb.customize ['createhd',
'--filename', "disk-#{i}-#{d}", '--filename', "disk-#{i}-#{d}",
'--size', '11000'] unless File.exist?("disk-#{i}-#{d}.vdi") '--size', '11000'] unless File.exist?("disk-#{i}-#{d}.vdi")