diff --git a/doc/directives.md b/doc/directives.md index 199c299e..2ac05a32 100644 --- a/doc/directives.md +++ b/doc/directives.md @@ -29,19 +29,6 @@ otk.define: boot_mode: uefi ``` -## otk.argument - -Define arguments that **MUST** be passed on the command line to `otk` with -`otk compile -A`. - -Expects a `seq` for its value. - -```yaml -otk.argument: - - version - - architecture -``` - ## Usage of `${}` Use a previously defined variable. String values can be used inside other diff --git a/example/fedora/fedora-39-amd64.yaml b/example/fedora/fedora-39-amd64.yaml new file mode 100644 index 00000000..692e6b5d --- /dev/null +++ b/example/fedora/fedora-39-amd64.yaml @@ -0,0 +1,6 @@ +otk.define: + version: 39 + architecture: amd64 + +otk.include: + path: minimal.yaml diff --git a/example/fedora/minimal.yaml b/example/fedora/minimal.yaml index 902191a2..859e9fb0 100644 --- a/example/fedora/minimal.yaml +++ b/example/fedora/minimal.yaml @@ -1,9 +1,5 @@ otk.version: 1 -otk.argument: - - version - - architecture - otk.include: path: repositories/${version}.yaml