2 echo "---> vagrant-verify.sh"
4 # Ensure we fail the job if any steps fail
9 # TODO Vagrant has a known issue
10 # (https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1371)
11 # destroying the VMs, so destroy them manually here
12 vagrant destroy -f jump
13 virsh -c qemu:///system destroy vm-machine-1
14 virsh -c qemu:///system undefine --nvram --remove-all-storage vm-machine-1
15 virsh -c qemu:///system destroy vm-machine-2
16 virsh -c qemu:///system undefine --nvram --remove-all-storage vm-machine-2
20 # TODO Improve VM performance by only using cores on the same node
21 #sed -i -e '/^\s\+libvirt.cpus/!b' -e "h;s/\S.*/libvirt.cpuset = '0-21,44-65'/;H;g" Vagrantfile
24 vagrant up --no-parallel
28 sudo su -c 'make {target}'