diff mbox series

[2/3] ref-manual/kickstart.rst: warn about the include directive only working for .wks

Message ID 20261102-wks-in-v1-2-fbb797a3d5cb@bootlin.com
State New
Headers show
Series Expand WKS (kickstart) documentation | expand

Commit Message

Antonin Godard Nov. 2, 2026, 9:22 a.m. UTC
The include directive only works for .wks files, not .wks.in. Document
this limitation.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 documentation/ref-manual/kickstart.rst | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/documentation/ref-manual/kickstart.rst b/documentation/ref-manual/kickstart.rst
index 1144f1a12..5223b80a9 100644
--- a/documentation/ref-manual/kickstart.rst
+++ b/documentation/ref-manual/kickstart.rst
@@ -246,3 +246,9 @@  the current file. For example:
    include common.wks.inc
 
    bootloader --configfile="directdisk-bootloader-config.cfg"
+
+.. warning::
+
+   File inclusion is only supported for ``.wks`` files, not ``.wks.in``. See the
+   :ref:`ref-manual/kickstart:Kickstart Variable Expansion` section below for
+   more details on the differences between the two files.