The Windows jobs use Libvirt VMs to build Ceph and run the tests.
The issue is that we're assuming Libvirt to be preinstalled, which
isn't necessarily the case.
This change will explicitly install Libvirt.
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
#
# Setup requirements (if needed)
#
-if ! which virt-install >/dev/null; then
- sudo apt-get update
- sudo apt-get install -y virtinst
-fi
-if ! which cloud-localds >/dev/null; then
- sudo apt-get update
- sudo apt-get install -y cloud-image-utils
-fi
+sudo apt-get update
+sudo apt-get install -y libvirt-daemon-system virtinst cloud-image-utils
+
if ! sudo virsh net-info default &>/dev/null; then
cat << EOF > $LIBVIRT_DIR/default-net.xml
<network>