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 are
- Live (amd64)
- Live (amd64 failsafe)
- Install
- Graphical Install
- Advanced Options
Once 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).