mbox series

[v2,0/2] isar-installer: Added option to add additional kernel cmdline arguments for isar-image-installer.

Message ID 20241212125347.76001-1-alexander.heinisch@siemens.com
Headers show
Series isar-installer: Added option to add additional kernel cmdline arguments for isar-image-installer. | expand

Message

alexander.heinisch Dec. 12, 2024, 12:53 p.m. UTC
From: Alexander Heinisch <alexander.heinisch@siemens.com>

Made isar-image-installer's unattended mode configurable.

isar-image-installer allows to specify several parameters like:
 - installer.unattended
 - installer.image.uri ...file name of the image to be installed (parameter name uri chosen since we plan to support download of images in upcoming patches)
 - installer.target.dev ...target device name (e.g. /dev/sda) for the image to be installed to
 - installer.target.overwrite ...strategy how to handle target devices not empty (possible values: OVERWRITE - overwrite data on target | ABORT - abort installation if target not empty)
to execute image deployment in "unattended" mode.

Thus, I extended the image to allow specification of those parameters and added
options to configure those via kconfig menu.

This resolves the discussions from https://groups.google.com/g/isar-users/c/bngoAN6FwV8

Alexander Heinisch (2):
  isar-installer: Added option to add additional kernel cmdline
    arguments for isar-image-installer.
  isar-installer: Added config options for isar-image-installer
    unattended mode.

 kas/image/Kconfig                             | 37 +++++++++++++++++++
 .../images/isar-image-installer.bb            | 11 ++++++
 .../lib/wic/canned-wks/installer-efi.wks.in   |  2 +-
 3 files changed, 49 insertions(+), 1 deletion(-)

---

Changes in v2:
- Added kconfig menu options to setup unattended mode.

Comments

Uladzimir Bely Dec. 20, 2024, 7:49 a.m. UTC | #1
On Thu, 2024-12-12 at 13:53 +0100, alexander.heinisch via isar-users
wrote:
> From: Alexander Heinisch <alexander.heinisch@siemens.com>
> 
> Made isar-image-installer's unattended mode configurable.
> 
> isar-image-installer allows to specify several parameters like:
>  - installer.unattended
>  - installer.image.uri ...file name of the image to be installed
> (parameter name uri chosen since we plan to support download of
> images in upcoming patches)
>  - installer.target.dev ...target device name (e.g. /dev/sda) for the
> image to be installed to
>  - installer.target.overwrite ...strategy how to handle target
> devices not empty (possible values: OVERWRITE - overwrite data on
> target | ABORT - abort installation if target not empty)
> to execute image deployment in "unattended" mode.
> 
> Thus, I extended the image to allow specification of those parameters
> and added
> options to configure those via kconfig menu.
> 
> This resolves the discussions from
> https://groups.google.com/g/isar-users/c/bngoAN6FwV8
> 
> Alexander Heinisch (2):
>   isar-installer: Added option to add additional kernel cmdline
>     arguments for isar-image-installer.
>   isar-installer: Added config options for isar-image-installer
>     unattended mode.
> 
>  kas/image/Kconfig                             | 37
> +++++++++++++++++++
>  .../images/isar-image-installer.bb            | 11 ++++++
>  .../lib/wic/canned-wks/installer-efi.wks.in   |  2 +-
>  3 files changed, 49 insertions(+), 1 deletion(-)
> 
> ---
> 
> Changes in v2:
> - Added kconfig menu options to setup unattended mode.
> 
> -- 
> 2.43.0
> 

Applied to next, thanks.