From 0b33e3978d83c782e4ca7f26b28928c144722f57 Mon Sep 17 00:00:00 2001 From: chengli3 Date: Fri, 25 Oct 2019 17:28:47 +0800 Subject: [PATCH] Allow running multiple jobs The Vm created by vagrant has the same name. So we add a random suffix to alllow running multiple jobs. Signed-off-by: chengli3 Change-Id: I8adfba55192f7a965c4a4a18277a6c747fd7514c (cherry picked from commit 08cbe6395d795c3964b618abe0720b76d883d8d0) --- Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 6cde8df..547d308 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -7,6 +7,8 @@ Vagrant.configure("2") do |config| config.vm.synced_folder ".", "/vagrant" config.vm.provider :libvirt do |libvirt| libvirt.graphics_ip = '0.0.0.0' + # add random suffix to allow running multiple jobs + libvirt.random_hostname = 'yes' libvirt.cpus = 16 libvirt.memory = 32768 libvirt.machine_virtual_size = 400 -- 2.16.6