mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-20 09:22:17 +00:00
231fadfaad
The media_url of an autoyast add-on product came from "#TABLE:noderes:$NODE:nfsserver#", which substitutes the address of the management node without brackets. An IPv6-only node therefore received <media_url>http://2001:db8::1//install/leap15.6/x86_64</media_url>, and YaST cannot read that as a URL, so the installer reached no repository. _sles_media_url() uses the bracketed master host for a node with no IPv4 address and keeps the substitution for every other node, which service nodes rely on. xCAT-test/unit/template_ipv6_rendering.t fails its two IPv6 assertions when the bracketed host is dropped. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>