You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing tumbleweed, yast2 complains about syntax error in the autoyast.xml.
It looks like that
<searchlist config:type="list">
</searchlist>
is printed into autoyast.xml, even if the name_servers_list array is empty.
Steps to reproduce
I believe any suse breed system with empty name_servers_list would produce an autoyast.xml file having the empty list in between the <searchlist> and </searchlist> tags; based on the sample_autoyast.xml template, which is relying on the networking.xml snippet.
Expected behavior
No searchlist tags are printed if the name_servers_list variable is empty.
Cobbler version
cobbler-3.2.0-2.module_el8+10474+71f42bad.noarch
Operating system
CentOS Stream release 8
The text was updated successfully, but these errors were encountered:
Feel free to open a PR. This is purely templating related. So feel free to open a PR, I would be willing to help you. Here a pointer to the file which I think is related:
Describe the bug
When installing tumbleweed,
yast2
complains about syntax error in theautoyast.xml
.It looks like that
is printed into
autoyast.xml
, even if thename_servers_list array
is empty.Steps to reproduce
I believe any
suse
breed system with empty name_servers_list would produce anautoyast.xml
file having the empty list in between the<searchlist>
and</searchlist>
tags; based on thesample_autoyast.xml
template, which is relying on thenetworking.xml
snippet.Expected behavior
No searchlist tags are printed if the
name_servers_list
variable is empty.Cobbler version
Operating system
The text was updated successfully, but these errors were encountered: