From aa59ab249056cf247cc202e425722d09155d0429 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Thu, 18 Dec 2025 14:39:27 -0500 Subject: [PATCH] ceph-windows-PRs: Fix virt-install command Behavior changed in newer virt-install. `--import` says boot the prebuilt qcow2. Older virt-install versions tolerated `--boot hd` without `--import` but now `--import` is required in this scenario and `--boot hd` is redundant. Signed-off-by: David Galloway --- scripts/ceph-windows/setup_libvirt_ubuntu_vm | 2 +- scripts/ceph-windows/setup_libvirt_windows_vm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ceph-windows/setup_libvirt_ubuntu_vm b/scripts/ceph-windows/setup_libvirt_ubuntu_vm index b2481ab8..5e97b722 100644 --- a/scripts/ceph-windows/setup_libvirt_ubuntu_vm +++ b/scripts/ceph-windows/setup_libvirt_ubuntu_vm @@ -53,7 +53,7 @@ cloud-localds ${LIBVIRT_DIR}/config-drive.img ${LIBVIRT_DIR}/user-data.yaml ${LI sudo virt-install \ --name $UBUNTU_VM_NAME \ --os-variant ubuntu22.04 \ - --boot hd \ + --import \ --virt-type kvm \ --graphics spice \ --cpu host \ diff --git a/scripts/ceph-windows/setup_libvirt_windows_vm b/scripts/ceph-windows/setup_libvirt_windows_vm index ade873d3..6e64ab15 100644 --- a/scripts/ceph-windows/setup_libvirt_windows_vm +++ b/scripts/ceph-windows/setup_libvirt_windows_vm @@ -20,7 +20,7 @@ curl -s -L $WINDOWS_VM_IMAGE_URL -o ${LIBVIRT_DIR}/ceph-windows-client.qcow2 sudo virt-install \ --name $WINDOWS_VM_NAME \ --os-variant win2k19 \ - --boot hd \ + --import \ --virt-type kvm \ --graphics spice \ --cpu host \ -- 2.47.3