Feature #17225
openPXE less in PXE environment
Description
Looks like some users are interested in using kexec into Anaconda for regular DHCP (PXE) environments.
Workaround: Create a custom discovery_kexec fact and change KExec template not to include network information (ip, netmask, ...)
Updated by Lukas Zapletal over 7 years ago
Workaround:
On the kernel command line do this: fdi.pxfactname1=kexec fdi.pxfactvalue1=1
Updated by Ivan Necas over 7 years ago
Unfortunately that doesn't work. I've put fdi.pxfactname1=discovery_kexec fdi.pxfactvalue1=1, on my PXE line, but it seems the custom facts don't get sent to foreman at all when in the pxe mode. When I interrupted the boot and went with the custom one, I was the custom facts prefilled: so I know the data got available to the discovery image, but they were not used in the PXE mode, so unfortunately the workaround doesn't work without fixing the issue with custom facts.
Updated by Ivan Necas over 7 years ago
- Related to Bug #17978: Custom facts not sent when in PXE mode added
Updated by Lukas Zapletal over 7 years ago
Once #17978 is fixed, these are the correct options:
fdi.pxfactname1=discovery_kexec fdi.pxfactvalue1=anything
Sorry for the confusion, I just filed a PR for this.
Updated by Lukas Zapletal about 7 years ago
I think we should create global setting Discovery provisioning: Reboot, KExec PXE-less and KExec ALL.