Created attachment 1935839 [details] kickstart file used for testing Description of problem: When attempting to create a new Fedora 37 virtual machine using the virt-install command, the command fails with "ERROR Couldn't find kernel for install tree.". A similar set of commands previously worked fine for Fedora 36. This also seems to be https://ask.fedoraproject.org/t/virt-install-compat-regression-with-f37-isos/29343 Version-Release number of selected component (if applicable): Fedora-Workstation-Live-x86_64-37-1.7.iso virt-install-4.1.0-1.fc37.noarch How reproducible: This can be reliably reproduced using the following steps. Steps to Reproduce: 1. Download Fedora-Workstation-Live-x86_64-37-1.7.iso 2. Create kickstart file (similar to attached). 3. Run the command: sudo virt-install -n test --memory=2048 --vcpus=2 --location iso/Fedora-Workstation-Live-x86_64-37-1.7.iso --disk size=30,pool=vms --network=default --os-variant=fedora37 --initrd-inject kickstart/f37-test.cfg --extra-args "inst.ks=file:/f37-test.cfg console=ttyS0" Actual results: Starting install... ERROR Couldn't find kernel for install tree. Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start test otherwise, please restart your installation. No virtual machine was installed. Expected results: A virtual machine called "test" was installed. Additional info:
I'm experiencing a similar issue using virt-install on a Debian host (package virtinst 1:4.1.0-2) with an "Regular" ISO from https://en.altlinux.org/Regular
Note that replacing --location with --cdrom works, but might not help the case of the OP.