Bug ID 1174794
Summary [doc] 4.1.4 The Semi-Automatic Section
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Documentation
Assignee fs@suse.com
Reporter jchoksi@gmail.com
QA Contact fs@suse.com
Found By ---
Blocker ---

4.1.4  The Semi-Automatic Section:

https://doc.opensuse.org/projects/autoyast/#CreateProfile-General-semi-automatic

The example provided is incorrect:

<general>
 <semi-automatic config:type="list">
  <semi-automatic_entry>networking</semi-automatic_entry>
  <semi-automatic_entry>scc</semi-automatic_entry>
  <semi-automatic_entry>partitioning</semi-automatic_entry>
 </semi-automatic>
</general>

I get a "The AutoYaST profile is not a valid XML document" error with the
details: "ERROR: Extra element general in interleave<br>42:0: ERROR: Element
profile failed to validate content"

Checking the schema here:
https://github.com/yast/yast-autoinstallation/blob/f61e00734ee8c6caa7810a0ffd48afb422a31281/src/autoyast-rnc/general.rnc#L83-L84

instead of <semi-automatic_entry>...</semi-automatic_entry>

it should be: <semi-automatic-modules>...</semi-automatic-modules>

i.e.

<general>
 <semi-automatic config:type="list">
  <semi-automatic-modules>networking</semi-automatic-modules>
  <semi-automatic-modules>scc</semi-automatic-modules>
  <semi-automatic-modules>partitioning</semi-automatic-modules>
 </semi-automatic>
</general>


You are receiving this mail because: