vmlinuz and initrd images with rhevh-iso-to-pxeboot:
# rhevh-iso-to-pxeboot /usr/share/rhev-hypervisor/rhev-hypervisor.iso
Your pxeboot image is complete. Copy tftpboot/ subdirectory to /tftpboot or a subdirectory of /tftpboot. Set up your DHCP, TFTP and PXE server to serve /tftpboot/.../pxeboot.0 Note: The initrd image contains the whole CD ISO and is consequently very large. You will notice when pxebooting that initrd can take a long time to download. This is normal behaviour.
rhevh-iso-to-pxeboot command is a directory called tftpboot that has the following files in it:
pxelinux.0
pxelinux.cfg/default
vmlinuz0
initrd0.img
vmlinuz and initrd files into PXE and tftp servers.
pxelinux.cfg/default file provides a template for configuring the PXE server to export the Hypervisor image:
DEFAULT pxeboot
TIMEOUT 20
PROMPT 0
LABEL pxeboot
KERNEL vmlinuz0
APPEND rootflags=loop initrd=initrd0.img
root=live:/rhev-hypervisor.iso
rootfstype=auto ro liveimg nomodeset
check rootflags=ro
crashkernel=512M-2G:64M,2G-:128M
elevator=deadline processor.max_cstate=1
install rhgb rd_NO_LUKS rd_NO_MD rd_NO_DM
ONERROR LOCALBOOT 0
IPAPPEND 2 parameter.
root Must Match ISO Nameroot=live:/rhev-hypervisor.iso parameter in pxelinux.cfg/default is a default value. If the ISO file you are using has a name other than rhev-hypervisor.iso it must be passed when calling rhevh-iso-to-pxeboot. For example, for the ISO file rhev_hypervisor_6_2.iso use the command rhevh-iso-to-pxeboot rhev_hypervisor_6_2.iso. This will produce the correct parameter root=live:/rhev_hypervisor_6_2.iso in pxelinux.cfg/default.