Problem: Hello everybody. I try to implement windows provisioning using foreman and it doesn’t work and I can’t understand why.
I have a vmware environment with efi boot options on VMs + foreman server with its dhcp proxy on the same machine + local dns server. Firstly I use foreman discovery plugin to discovery empty machines and this works fine (via pxe), I can see them into foreman gui. For discovering as I understand uses grub2x64.efi bootloader.
After pressing the provision button on gui I can observe that corresponding bootloader cfg file with MAC identifier is created in /var/lib/tftpboot/grub2 directory (like grub.cfg-xx:xx:xx:xx:xx:xx), but all I can see on my VM is only flashing title ‘trying /httpboot/grub2/grub.cfg-xx:xx:xx:xx:xx:xx’, after this VM jumps into booting loop or just drops out into booting menu.
As for operation system and installation media. I’ve tried to use preparation steps as it described here
Windows Provisioning made Easy! but it didn’t help me to make it work.
As windows image storage I use the same foreman host (webserver) http://xxx.xxx.xxx.xxx/pub/files/x64/Win10 (as it specified in gui) with the following files and folders inside this path:
For operating system I use PXEGrub2 global default template (as I understand default pxelinux doesn’t work with efi hosts).
I also have checked pxegrub2_chainload snippet and found there paths like this:
‘/EFI/Microsoft/boot/bootmgfw.efi’, but I don’t have something like this in my windows image.
Of course I’m ready to provide any additional information.
Can somebody help to finish the provisioning and understand why it’s not working? And explain how it should work?
Thanks in advance.
Provisioned windows host
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data: