2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-19 17:02:15 +00:00
Files
xcat-core/xCAT-server
Daniel Hilst 174668fb60 fix(sles): an IPv6 install server reaches the media_url as "[2001"
The nextserver derivation in pre.sle and pre.sles split the URL authority at the
first colon, which splits an IPv6 literal. YaST then had no usable install source
on a SLE15 or SLES12 node installed over IPv6.

Both scripts now read the authority with the bracket-aware form pre.rhels10 already
uses, and put the brackets back when the host is an IPv6 address, because the value
goes into a media_url. A portless IPv4 URL no longer keeps its path.

Captured by xCAT-test/bats/ipv6_pre_sle_nextserver.bats, which fails 5 of its 8
assertions without this change.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-29 08:56:37 -03:00
..