Skip to content

Commit b23eab0

Browse files
committed
Document inst.script (bsc#1246702, gh#agama-project/agama#2589)
1 parent 840b12d commit b23eab0

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

docs/user/unattended/autoyast/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 4
2+
sidebar_position: 5
33
---
44

55
# AutoYaST support
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
sidebar_position: 4
3+
---
4+
5+
# Fully scripted installation
6+
7+
In some cases even Jsonnet evaluation may not be enough to fully support complex installation decision making.
8+
9+
To replace the regular installation process, use the
10+
`inst.script` [boot option](../boot_options). You can use any of the
11+
[URLs that Agama supports](../urls). It can be used repeatedly.
12+
13+
It downloads a file, makes it executable and runs it. It is suggested to run these
14+
commands as part of the script:
15+
- `agama config load`
16+
- `agama install`
17+
18+
If `inst.auto` is also present, it is processed after `inst.script`.
19+
20+
:::warning Experimental feature
21+
22+
With [`inst.auto`](working-with-profiles) we commit to backward compatibility, but
23+
with `inst.script`, as it is a last minute feature, we reserve the freedom to evolve
24+
Agama even in ways that may break this year's `inst.script` programs.
25+
26+
We plan to specify this feature better and stabilize it by SP1, the first service pack.
27+
28+
:::
29+
30+
:::note In-profile scripts
31+
32+
For scripts more limited in scope, specified as part of the JSON profile, see the [Running scripts](profile/scripts).
33+
34+
:::

docs/user/unattended/profile/scripts.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ Agama allows to execute scripts at the following points of the installation proc
1212

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

15+
:::note `inst.script`
16+
17+
For a more general script feature wrapping the whole installation process, see [Fully scripted installation](../../inst-script)
18+
19+
:::
20+
1521
## Scripts definition
1622

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

0 commit comments

Comments
 (0)