I think the --disk parameter should be --file. --disk doesn't work with the --import parameter. This works: virt-install --name test123 --memory 2048 --vcpus 2 --network bridge=virbr0,model=virtio --file /var/lib/libvirt/images/rhel-guest-image-8.2-590.x86_64.qcow2 --import --os-variant rhel8.2 --noautoconsole Reported by: rhn-support-siwalter https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-guest_virtual_machine_installation_overview-creating_guests_with_virt_install#annotations:d96d223c-7145-46ff-90ba-b5433ed4dfd2
I don't have a reproducer right now. I think my "aha" moment was when I saw "--disk path=/" being used instead of "--file". That worked. Otherwise I would get a message saying --disk will not work with --import. If that is correct usage, maybe the docs can change to show "--disk path=/the/imported/disk.qcow"
Please close it. I destroyed the machine (nested virt) that I saw this on and cannot remember the OS I used. Sorry for the noise.