mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-29 05:42:17 +00:00
1c8094e305
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>