Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.
Launchpad entry: ubiquity-automation
Packages affected: ubiquity
Partially or fully automated installations using Ubiquity.
There are a number of limitations in the existing preseeding facilities in Ubiquity (which are used by gfxboot-theme-ubuntu/casper to set a default locale and keymap). The most noticeable for automatic installations is that it does not skip a page if no questions on that page are asked by the backend; this is also a UI bug visible when going back from the automatic partitioner on a system with only one disk. There is also no way at present to distinguish questions that have already been asked in the current Ubiquity run (or a previous cancelled run) from questions that have been preseeded. These restrictions impede the use of Ubiquity for automatic installations.
- Some derivatives of Ubuntu know the answers to certain questions asked by the installer (e.g. the language), and want to set their values and prevent them from being asked.
- Ubiquity provides a quicker installation than d-i by means of copying the live filesystem rather than installing packages, so, even though it does not provide a network installation at present, some people would like to use it for quickly bringing up individual machines in an automated and consistent fashion.
- Internal certification testing will be more efficient if it can be automated. (Coordinate with Marc Tardif in the Canonical support department.)
We will modify Ubiquity's debconffilter and frontend frameworks to skip a page if no questions at all are asked by the backend that require user interaction on that page.
We will teach casper's preseeding implementation to be able to fetch preseed files from the network.
Under normal circumstances, Ubiquity ignores the seen flag set by preseeding; this is necessary to make it possible to cancel Ubiquity and re-run it from the start. However, since this is problematic for automatic installations, we will add a --automatic option which skips pages if no questions are asked by the backend that require user interaction on that page and that do not have the seen flag set.
The implementor needs to go through and test that each individual question can be preseeded, and fix any further bugs that arise; they should be minor.
We will create documentation on automatic installations of ubiquity, to reduce the dependence on advice from installer developers. We will also create installer developer documentation on how this is supposed to work in order that this scheme will be remembered.
We will investigate switching the GTK frontend from the home-grown notebook scheme to gtk.Assistant (new in PyGTK 2.10) to make this easier.
The suggestion of a noninteractive frontend was discussed. This is not very useful in the context of ubiquity at the moment, since noninteractive frontends mostly help with network installations, and ubiquity doesn't yet support those. A text/newt frontend has more practical use, but is out of scope here, and is not being specified at present.