UbiquityAutomation
Size: 2420
Comment: note about skipping the casper cd eject prompt
|
Size: 2427
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 11: | Line 11: |
* '''ubiquity/reboot''': automatically reboot when the installer completes. Be sure to add 'noprompt' to the kernel command line to also skip the "please remove the disc, close the tray (if any) and press ENTER to continue" message. | * '''ubiquity/reboot''': automatically reboot when the installer completes. Be sure to add 'noprompt' to the kernel command line to also skip the "please remove the disc, close the tray (if any) and press ENTER to continue" usplash prompt. |
With respect to automation, [:Ubiquity:ubiquity], the desktop CD installer, works much in the same way that debian-installer, the alternate CD installer does. Therefore, it is recommended that you first read the debian-installer [https://help.ubuntu.com/7.04/installation-guide/i386/appendix-preseed.html installation guide] and create a working preseed file for that before continuing here.
Like debian-installer, you have three options for passing your preseed file to the installer. You can place it in the root of the initrd as the preseed.cfg file, you can place it on the cdrom and specify its location using the file= boot parameter, or you can specify its location on a webserver using the url= boot parameter.
Unlike debian-installer, ubiquity may be invoked several times in a session without restarting the computer, such as when the user chooses to cancel the install and return later to finish it. For this reason, ubiquity ignores the 'seen' flag (which is used by debconf to indicate that a question should not be asked again) by default. This means that preseeding will not work without passing the --automatic argument to ubiquity. With this argument set, ubiquity will respect the seen flag and will not present pages where all of the questions have been successfully answered.
In addition to manually passing the --automatic flag to ubiquity, you also have the option of adding the 'ubiquity-automatic' option to the boot parameters. Doing so will cause the graphical environment to be started with just ubiquity (with its automatic flag set).
Ubiquity uses a subset of the components that Ubuntu's version of debian-installer uses and therefore asks the same questions for those components. However, there are some additional questions provided. These are as follows:
ubiquity/summary: preseed empty to avoid the summary page.
ubiquity/reboot: automatically reboot when the installer completes. Be sure to add 'noprompt' to the kernel command line to also skip the "please remove the disc, close the tray (if any) and press ENTER to continue" usplash prompt.
ubiquity/failure_command: specify a command to be run when the install fails.
ubiquity/success_command: similar to preseed/late_command. Specifiy a command to be run when the install completes successfully (runs outside of /target, but /target is mounted when the command is invoked).
UbiquityAutomation (last edited 2019-07-12 07:07:21 by tsimonq2)