On Thu, Jul 29, 2021 at 8:19 PM Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:
Hi,

I am running the below command to spawn Ubuntu 18.04 based Virtual Machine using KVM based technology. 

#virt-install --version 
1.5.0
#

virt-install --name=snipeitassetmanagement --file=/linuxkvmguestosdisk/snipeitassetmanagement.img --file-size=40 --nonsparse --vcpus=2 --ram=8096 --network=bridge:br0 --os-type=linux --os-variant=ubuntu18.04 --graphics none --location=/linuxkvmguestosdisk/var/lib/libvirt/isos/ubuntu-18.04.5-live-server-amd64.iso --extra-args="console=ttyS0"

Starting install...
Retrieving file .treeinfo...                                                                                                                                                         |    0 B  00:00:00
Retrieving file content...                                                                                                                                                           |    0 B  00:00:00
Retrieving file info...                                                                                                                                                              |   70 B  00:00:00
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 snipeitassetmanagement
otherwise, please restart your installation.


Any clue and i look forward to hearing from you. Thanks in advance.

Best Regards,

Hi,

#cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
#virt-install --version
1.5.0
#virt-install -n snipeitassetmanagementubuntu --ram 8096 --vcpus 2 --virt-type kvm --os-type linux --os-variant ubuntu18.04 --graphics none --location 'http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/' --extra-args "console=tty0 console=ttyS0,115200n8" --disk path=/linuxkvmguestosdisk/snipeitassetmanagementubuntu.img,size=30

I am unable to connect to the guest VM instance. Any clue and i look forward to hearing from you. Thanks in advance.

Best Regards,

Kaushal