mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
6d4f1ff35a
Master gained d9936e4a6, which moves the validation of the node
architecture, of the grub2 binary and of the node address in
xCAT_plugin::grub2::setstate above the find/rm that replaces the
configuration, and declares $serverip and $grub2protocol before that
validation block. This branch rewrites the same region to resolve the
boot server in either address family.
Resolution. The helper call grub2_server_for_node assigns the $serverip
that master now declares in the outer scope. A "my" on that assignment
compiles and passes perl -c, but it leaves the outer $serverip undef and
the configuration gets no "set root=" line; grub2_ipv6.t fails 2 of its
22 assertions on that form. The IPv4/IPv6 split of getipaddr moves to
master's hoisted validation site, so an IPv6-only node passes validation
before the previous configuration is removed.
The IPv6 boot file URL in dhcp.pm builds the loader name itself and so
bypasses grub2_node_loader, which xcat-core/#7980 added as the one place
that name is chosen. An aarch64 node over IPv6 therefore gets a name
without the .efi suffix its firmware requests. The next commit routes
that path through the helper.
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
Welcome to the xCAT documentation
The xCAT docs are hosted here: https://xcat-docs.readthedocs.io/ and are written in reStructuredText (.rst).
Building Docs
-
Clone this project
-
Install dependencies (See: https://pip.readthedocs.io/)
pip install --user -r requirements.txt -
Build the Docs
cd xcat-core/docs make html -
View the documentation by pointing a browser to:
xcat-core/docs/build/html/index.html