I am trying to set up a Ubuntu server VM (CLI only) on a Debian host (CLI only) using
virt-install (version 1.0.1).
But following install:
sudo virt-install --name=<name> --disk path=/home/locadm/kvm/images/ubuntu/bionic-image1.img,format=raw,device=disk,bus=virtio,cache=none --memory=1024 --vcpu=1 --cdrom=./ubuntu-18.04.4-live-server-amd64.iso
WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. Starting install... Creating domain... | 0 B 00:00 Connected to domain Escape character is ^]
There is no response to any keyboard input (except the escape command). I used this when creating the VM:
--cdrom=<LOCAL PATH TO ISO>
From what i've read I could instead use:
--location=<URL PATH TO INSTALLER> \
(which may resolve the issue)
but the problem is I have no internet connection so cannot use a url. I have tried mounting the iso file and specifying that as a location but that failed.