diff --git a/docs/user/boot_options.md b/docs/user/boot_options.md index 0f844b7..c8c8660 100644 --- a/docs/user/boot_options.md +++ b/docs/user/boot_options.md @@ -46,6 +46,16 @@ to extend. Setting this variable will impact all products. ::: +- `agama.finish` + During an unattended installation, if the installation is completed successfully then the + installer will reboot into the target system by default (`reboot`). This behavior can be modified + allowing to `stop`, `halt` or `poweroff` the machine at the end of the installation. An + interactive installation is not affected by this parameter. + + ```text + agama.finish=poweroff + ``` + - `live.password` and `live.password_hash` Set the `root` password of the live system. `live.password` accepts a plain text password, while `live.password_hash` is expected to receive a hashed password, which is more secure. The disadvantage of a hashed password is that it is quite diff --git a/docs/user/cli.md b/docs/user/cli.md index f90ecda..a257ff3 100644 --- a/docs/user/cli.md +++ b/docs/user/cli.md @@ -29,6 +29,7 @@ This document contains the help content for the `agama` command-line program. - [`agama auth logout`↴](#agama-auth-logout) - [`agama auth show`↴](#agama-auth-show) - [`agama download`↴](#agama-download) +- [`agama finish`↴](#agama-finish) ## `agama` @@ -314,3 +315,24 @@ The purpose of this command is to download files using AutoYaST supported schema ###### **Arguments:** - `` — URL pointing to file for download + +## `agama finish` + +Finish the installation rebooting the system by default + +**Usage:** `agama finish [METHOD]` + +###### **Arguments:** + +- `` — Action to be done at the end of the installation + +Possible values: + +- `stop`: + Stop at the end of the installation +- `reboot`: + Reboot into the installed system +- `halt`: + Halt the installed machine +- `poweroff`: + Poweroff the installed machine