diff --git a/docs/user/unattended/autoyast/index.md b/docs/user/unattended/autoyast/index.md index 5304298..f660695 100644 --- a/docs/user/unattended/autoyast/index.md +++ b/docs/user/unattended/autoyast/index.md @@ -1,5 +1,5 @@ --- -sidebar_position: 4 +sidebar_position: 5 --- # AutoYaST support diff --git a/docs/user/unattended/inst-script.md b/docs/user/unattended/inst-script.md new file mode 100644 index 0000000..50433db --- /dev/null +++ b/docs/user/unattended/inst-script.md @@ -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). + +::: \ No newline at end of file diff --git a/docs/user/unattended/profile/scripts.md b/docs/user/unattended/profile/scripts.md index ad26f4c..edaface 100644 --- a/docs/user/unattended/profile/scripts.md +++ b/docs/user/unattended/profile/scripts.md @@ -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