I am trying to script a Debian installation using virt-install and a preseed.cfg file. I am installing into a virtual machine.Currently, I am using an ISO file rather than a network installation.I ran into the same problem as another user. That is, --extra-args can not be passed when using --cdrom giving the path of the iso as --location doesn't seem to work either.So I followed the Debian wiki instructions to modify the iso with my preseed.cfg file.The installation now works entirely automatically, except for one final detail. The ISO I used throws up a splash screen on boot, offering the menu where the options areLive (amd64)Live (amd64 failsafe)InstallGraphical InstallAdvanced OptionsOnce I select 'Install' the rest works perfectly.  However, I would like to skip this screen and install directly, but I can't figure out how to do so.  Does it require adding an option to the debian preseed.cfg file, modifying the iso, or adding another parameter to virt-install?  (Bear in mind the --extra-args constraint).
virt-install automatic Debian installation with preseed.cfg
debian;virtual machine;debian installer;libvirtd
As you're remastering the ISO anyway, you can set a timeout in the isolinux/isolinux.cfg file. PrependTIMEOUT 1and be patient for 0.1 s during boot. You could also start your desired kernel with custom arguments and skip the boot menu completely, but the above is the simplest solution if the default fits you.