mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
c7139d062c
grub2.pm replaced !myipfn! with the facing address as it stands. sles.pm and anaconda.pm put that placeholder where a URI authority expects a host, with the port already appended, so an IPv6-only node was told to install from "http://2001:db8:156::1:80/install/...". Nothing can split that into an address and a port, so the installer could not reach the repository. substitute_facing_address() brackets a placeholder that a port follows and leaves every other one bare, because xcatd=!myipfn! names a host with no port and the postscripts read that value as it stands. The other five plugins that substitute the placeholder serve BIOS PXE, ppc64le and yaboot, none of which network boots over IPv6, so they keep the bare replacement. grub2_ipv6.t and sles_install_url_ipv6.t fail their bracketing assertions when the port-aware branch is removed, and their bare-address assertions still pass. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>