mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-21 18:02:18 +00:00
c59021e408
ISC serves DHCPv4 and DHCPv6 from two files in the same directory. dhcp.pm set the v6 file inside the branch that switches the v4 file to /etc/dhcp/dhcpd.conf. openSUSE already has /etc/dhcpd.conf, so the branch never ran, $dhcp6conffile stayed undef, and makedhcp wrote no IPv6 configuration. dhcpd6 then exited with "No subnet6 declaration for eth1" and no node could get an IPv6 lease. dhcp6_conf_file_for() now returns the v6 file that belongs beside a given v4 file, and the module derives it after every branch that chooses the v4 file. xCAT-test/unit/dhcp_dhcpv6_conf_file.t fails on the openSUSE and /etc/dhcp3 layouts when the derivation is restricted to /etc/dhcp again. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>