mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-23 02:42:17 +00:00
7ab3628353
root=nfs:, XCAT=, xcatd= and imgurl=http:// all separate the server from what follows with a colon, so an IPv6 address in any of them cannot be told from the path or the port. Eight sites built those values by interpolation, and a diskless, statelite or cloned node of any family took a command line its initrd could not parse. build_statelite_nfsroot_parameter brackets the server, which covers the NFS root of all three netboot plugins at once. debian.pm and sles.pm now build the XCAT endpoint and the image URL through xcatd_cmdline_address and format_host_port, as anaconda.pm already did for the install path, and the mksysclone endpoint of anaconda.pm and sles.pm goes the same way. destiny.pm had a third xcatd= site. The earlier change covered the two genesis branches and left the legacy nbk branch interpolating the address. nfs_root_options.t asserts the bracketed form, the IPv4 form and the mount options after a bracketed address. Removing the brackets fails 2 of its 80 assertions and leaves the IPv4 and the name cases passing. zvm.pm carries the same pattern and is left alone: z/VM has no IPv6 netboot path to test it on. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>