ERROR Couldn't find hvm kernel for SUSE tree
We are trying to install SUSE virtual machine using virt-install. Used the below command for installation.
_virt-install --network type=bridge,source=virbr0 --name Redhat --ram=4096 --vcpus=8 --disk path=/var/lib/libvirt/images/Suse_new.qcow2,format=qcow2,bus=virtio,size=40 --graphics none --location=./SLE-12-SP5-Server-DVD-x86_64-RC2-DVD2.iso --extra-args="console=tty0 console=ttyS0,115200" --check all=off --os-variant sles12
I was getting the error
ERROR Couldn't find hvm kernel for SUSE tree.
It was suggested in community forums to use "--cdrom" option instead of "--location" to install this iso image. Installing with --cdrom option successfully completes the installation, but there is no option in cdrom installation to provide '--extra-args=" so we are unable to get console access to the installed virtual machine. What could be the reason the iso image does not support installation with "--location".
It would be of great help if anybody could suggest an iso image that supports installation with --location flag so we could connect to the VM using command line.