[virt-tools-list] Need virt-install to boot Ubuntu netboot initrd

Orion Poplawski orion at nwra.com
Mon Dec 23 17:07:15 UTC 2019


I'm trying to use koan with cobbler to install a Ubuntu 16.04 VM.  koan
invokes virt-install with:

'virt-install', '--connect', 'qemu:///system', '--name', 'vmub16', '--ram',
'2000', '--vcpus', '1', '--graphics', 'spice', '--virt-type', 'kvm',
'--machine', 'pc', '--location',
'http://saga.cora.nwra.com/cblr/links/ubuntu-16.04.6-x86_64/',
'--extra-args=auto-install/enable=true priority=critical
url=http://saga.cora.nwra.com/cblr/svc/op/ks/system/vmub16 ksdevice=link lang=
text ', '--arch', 'x86_64', '--os-variant', 'virtio26', '--disk',
'path=/dev/mapper/vg_nvme-vmub16--disk0,size=35,bus=scsi,format=raw',
'--network', 'bridge=br0,mac=00:16:3e:32:4f:a1', '--wait', '0', '--noautoconsole'

The problem is that virt-install appears to see the install image as a CD
image (which it is since that is what gets imported into cobbler) and boots
the normal CD initrd which does not activate the network and cannot do a
network install.

What magic do I need to do to get it to use the netboot kernel/initrd
location?  --debug output is attached.

-- 
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                 https://www.nwra.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-install.log
Type: text/x-log
Size: 29621 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20191223/368ef72a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3799 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20191223/368ef72a/attachment.p7s>


More information about the virt-tools-list mailing list