I have KVM on centos7. I can create centos guests no problem using the following command but when I use it for any ubunti iso it will not work
virt-install -n ubuntu -r 2048 --os-variant=ubuntu19.04 --location=/mnt/FTP/appz/ubuntu-19.10-live-server-amd64.iso --disk /var/lib/libvirt/images/ubuntu_boot.img,size=10,device=disk,bus=virtio --graphics none -w bridge=br0,model=virtio --extra-args="console=tty0 console=ttyS0,115200"
I get errors
ERROR Couldn't find hvm kernel for Ubuntu 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 ubuntu otherwise, please restart your installation.
this thread led me to understand this is a problem with where the vmlinux kernel is on the image. Couldn't find hvm kernel for Ubuntu tree
any ideas how to get around this?