Add new variables in FAI integration script
Descriptive title for this enhancement
Add new variables in FAI integration script
We need new variables in case we use many different PXE boot options like EFI64, EFI32 and multiple distribution with different NFSROOT.
Actual behavior
We only support 1 method to boot in PXE and we copy vmlinuz and initrd.img with hardcoded name.
Expected behavior
We need to add the next variables:
- TFTPROOT_EFI32 (path where the PXE will find the vmlinuz and initrd for EFI32)
- TFTPROOT_EFI64 (path where the PXE will find the vmlinuz and initrd for EFI64)
- DISTRELEASE (release of the distribution, example stretch)
The TFTPROOT variable will be used for bios PXE in case we use different boot method so we not break something by other clients.
DISTRELEASE will be ignored if empty or missing. If defined we will copy vmlinuz and initrd.img as vmlinuz-DISTRELEASE-install and initrd.img-DISTRELEASE-install in place of vmlinux-install and initrd.img-install.
Benefits
Using multiple PXE boot method and have distribution kernel in place of generic