From 56acec11eff6eae824e33850e123eae4a0d9adcc Mon Sep 17 00:00:00 2001 From: nodiscc Date: Tue, 7 Apr 2020 18:02:10 +0200 Subject: [PATCH] makefile: test_kvm: create the qcow disk image in the current directory --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index deeecaa..519a6bb 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ test_imagesize: test_kvm_bios: # Run the resulting image in KVM/virt-manager (legacy BIOS mode) - sudo virt-install --name dlc-test --boot cdrom --disk path=/dlc-test-disk0.qcow2,format=qcow2,size=20,device=disk,bus=virtio,cache=none --cdrom 'iso/dlc-2.2.2-debian-buster-amd64.hybrid.iso' --memory 2048 --vcpu 2 + sudo virt-install --name dlc-test --boot cdrom --disk path=$$PWD/dlc-test-disk0.qcow2,format=qcow2,size=20,device=disk,bus=virtio,cache=none --cdrom 'iso/dlc-2.2.2-debian-buster-amd64.hybrid.iso' --memory 2048 --vcpu 2 sudo virsh destroy dlc-test sudo virsh undefine dlc-test sudo rm /dlc-test-disk0.qcow2 @@ -73,7 +73,7 @@ test_kvm_bios: test_kvm_uefi: # Run the resulting image in KVM/virt-manager (UEFI mode) # UEFI support must be enabled in QEMU config for EFI install tests https://wiki.archlinux.org/index.php/Libvirt#UEFI_Support (/usr/share/OVMF/*.fd) - sudo virt-install --name dlc-test --boot loader=/usr/share/OVMF/OVMF_CODE.fd --disk path=/dlc-test-disk0.qcow2,format=qcow2,size=20,device=disk,bus=virtio,cache=none --cdrom 'iso/dlc-2.2.2-debian-buster-amd64.hybrid.iso' --memory 2048 --vcpu 2 + sudo virt-install --name dlc-test --boot loader=/usr/share/OVMF/OVMF_CODE.fd --disk path=$$PWD/dlc-test-disk0.qcow2,format=qcow2,size=20,device=disk,bus=virtio,cache=none --cdrom 'iso/dlc-2.2.2-debian-buster-amd64.hybrid.iso' --memory 2048 --vcpu 2 sudo virsh destroy dlc-test sudo virsh undefine dlc-test sudo rm /dlc-test-disk0.qcow2