Can't use virt-install to start VM with --location argument
Issue
Using the following command, we receive an error when trying to launch the VM:
virt-install --name VM_NAME --memory=16384 --vcpus=4 --location /var/lib/libvirt/images/rhel7.iso --disk size=100 --network bridge=br-ex --network bridge=br-ctlplane --graphics=vnc --hvm --os-variant=rhel7
Starting install...
Retrieving file .treeinfo... | 1.3 kB 00:00:00
ERROR Couldn't find hvm kernel for Red Hat Enterprise Linux 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 VM_NAME
otherwise, please restart your installation.
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.