mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-30 14:22:23 +00:00
7f46d8dab3
substitute_facing_address brackets the facing address only where a port follows the placeholder. An NFS root carries the server between two colons, as in "root=nfs:!myipfn!:/install/netboot", so an IPv6 server came out as "root=nfs:2001:db8::1:/install/netboot". dracut reads the server up to the last colon, so it took "2001:db8:" and the statelite node could not mount its root. The substitution now also brackets a placeholder that an NFS path follows. A placeholder with nothing after it still takes the bare address, because xcatd=!myipfn! names a host with no port and the postscripts read that value as it stands. networkutils_ipv6_helpers.t covers both forms in one command line. Removing the new substitution fails the two IPv6 checks and leaves the IPv4 and bare-placeholder checks passing. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
xCAT is a toolkit for the deployment and administration of clusters. xCAT documentation is available at: http://xcat-docs.readthedocs.org/ xCAT is made available as open source software under the EPL license: http://www.opensource.org/licenses/eclipse-1.0.php