action #127349
closedcoordination #123583: [epic] Agama auto-installation
Add code for handling agama.auto boot parameter
Description
Motivation¶
The action [#126857] made a proof of concept for automating the ALP installation by using the dinst.auto
boot parameter, that soon will be renamed to agama.auto
.
To avoid the hassle of providing the file for download on the worker in this PoC the parameter just points to a branch on GitHub, but that is not the final destination. We should create a parameter handler similar to prepare_profile
in autoyast scenarios. That means read a openQA setting that we need to specify, e.g. AGAMA_AUTO
and process the file so that we create a temporary upload on the worker and submit this path as the agama.auto
parameter to the bootloader.
Acceptance criteria¶
- AC1: New openQA setting
AGAMA_AUTO
is defined. - AC2: Library modules are adapted to provide routines to upload the config file and provide a temporary URL.
- AC3: Bootloader modules are able to handle the
agama.auto
parameter similar to handling theautoyast
boot parameter - AC4: A testmodule is created that comes before the bootloader and prepares the
agama.auto
profile for the worker.
Additional information¶
Do not mix AutoYaST logic and libraries with this new development, just mimic what is there.