I'm attempting to automate a server installation of Precise on a virtualbox VM. Eventually I'll use some of the preseed configuration to install it on a few ESXi VMS.
I would like to use the linux-virtual kernel package and the documentation suggests that it is possible to change the kernel selection.
I currently have these lines in my preseed file
d-i base-installer/kernel/image string linux-virtual
d-i base-installer/kernel/altmeta string linux-virtual
I've also tried various other strings including linux-image-virtual.
Although linux-virtual is not on the server install CD, it is in the archive and I have the preseed file set up our local apt-cacher-ng instance:
d-i apt-setup/local0/repository string http://core:3142/gb.archive.ubuntu.com/ubuntu precise-updates main
d-i apt-setup/local1/repository string http://core:3142/gb.archive.ubuntu.com/ubuntu precise main
d-i apt-setup/local2/repository string http://core:3142/gb.archive.ubuntu.com/ubuntu precise-security main
However during the installation I just get a selection menu which allows me to choose from various flavours of the generic kernel.
I'd like to install linux-virtual within the preseed so I can avoid the need to reboot again, as I would have to if I installed it after the installer had run.