2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-29 05:42:17 +00:00
Files
xcat-core/xCAT-server/lib
Daniel Hilst 1c8094e305 fix(template): the IPv6 search list makes YaST refuse the whole profile
The search list added in the previous commit carried no config:type, and the
AutoYaST schema gives searchlist the LIST type, the way it gives it to
nameservers. xmllint against profile.rng of Leap 15.6 reports only "Element
profile failed to validate content", and YaST refuses the profile entirely, so
the node cannot install at all.

searchlist is now emitted as a typed list. Measured against
/usr/share/YaST2/schema/autoyast/rng/profile.rng on a live management node: the
generated profile fails to validate, the same profile with the attribute added
validates, and removing hostname as well changes nothing, so hostname was not
the element at fault.

Captured by xCAT-test/unit/autoyast_ipv6_network.t, which gained an assertion on
the attribute.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-29 12:48:21 -03:00
..