I have a packer template I've been using to build our VMWare images of both RHEL and Rocky. When switching between them, a grand total of 3 fields are changed: installation_iso_image, ...
On the Windows DHCP server did you set scope option 066? I know that I typically don't need to do this for Windows RIS but I figure it exists for other systems.