What I have understood so far, it's possible to use PXE mode(?) with the Ubuntu installer.
Is it still possible to use virt-install?
In the documentation, they refer to an installation using -c
switch which does not allow though headless walk-through configuration for the installer.
If using as previously with bionic the switch --location
, the ISO seems to miss important components.
virt-install
command (virt-install version 1.5.0):
virt-install --wait -1 --force --debug --noreboot --name ubuntu-20.04-00123456 \
--noautoconsole --graphics vnc \
--disk path=/var/lib/libvirt/images/ubuntu-20.04-114046.qcow2,format=qcow2,size=10,bus=scsi \
--controller type=scsi \
--location $OS_ISO \
--os-type=linux --os-variant ubuntu18.04 -r 2048 --vcpus=2 --network network=default \
--features acpi=on,apic=on --initrd-inject config/20.04/preseed.cfg -x edd-off -x ipv6.disable=1
Error:
[virt-install 44526] ERROR (cli:318) Couldn't find hvm kernel for Ubuntu tree.
[virt-install 44526] DEBUG (cli:320)
0 Answers