]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
windows: explicitly enable libvirtd and install qemu-kvm 2195/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 13 Feb 2024 21:29:03 +0000 (23:29 +0200)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 13 Feb 2024 21:30:21 +0000 (23:30 +0200)
Libvirt is still not available after installing the libvirt-daemon-system
package.

We'll explicitly enable the libvirtd service and install qemu-kvm.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
scripts/ceph-windows/setup_libvirt

index f9df6e56f37b29647e362551e54137999a1e860c..f589a7544c712d7bc4d85e4969bac6ecc2df1f43 100644 (file)
@@ -75,7 +75,10 @@ function get_libvirt_vm_ssh_address() {
 # Setup requirements (if needed)
 #
 sudo apt-get update
-sudo apt-get install -y libvirt-daemon-system virtinst cloud-image-utils
+sudo apt-get install -y libvirt-daemon-system virtinst cloud-image-utils qemu-kvm
+
+sudo systemctl start libvirtd
+sudo systemctl status libvirtd
 
 if ! sudo virsh net-info default &>/dev/null; then
     cat << EOF > $LIBVIRT_DIR/default-net.xml