Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/user/unattended/autoyast/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 4
sidebar_position: 5
---

# AutoYaST support
Expand Down
34 changes: 34 additions & 0 deletions docs/user/unattended/inst-script.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
sidebar_position: 4
---

# Fully scripted installation

In some cases even Jsonnet evaluation may not be enough to fully support complex installation decision making.

To replace the regular installation process, use the
`inst.script` [boot option](../boot_options). You can use any of the
[URLs that Agama supports](../urls). It can be used repeatedly.

It downloads a file, makes it executable and runs it. It is suggested to run these
commands as part of the script:
- `agama config load`
- `agama install`

If `inst.auto` is also present, it is processed after `inst.script`.

:::warning Experimental feature

With [`inst.auto`](working-with-profiles) we commit to backward compatibility, but
with `inst.script`, as it is a last minute feature, we reserve the freedom to evolve
Agama even in ways that may break this year's `inst.script` programs.

We plan to specify this feature better and stabilize it by SP1, the first service pack.

:::

:::note In-profile scripts

For scripts more limited in scope, specified as part of the JSON profile, see [Running scripts](profile/scripts).

:::
6 changes: 6 additions & 0 deletions docs/user/unattended/profile/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Agama allows to execute scripts at the following points of the installation proc

This section describes how to specify a script and goes through some use-cases.

:::note `inst.script`

For a more general script feature wrapping the whole installation process, see [Fully scripted installation](../inst-script).

:::

## Scripts definition

User scripts are defined in the `scripts` section of the Agama profile. There is a key for each of
Expand Down