How to make a PXE Boot Menu to install Openshift 4.x
March 31, 2021 | by
Team, today I'm going to share something simple, but it helped a lot to avoid unnecessary work during the installation of Openshift 4.6 via PXE in bare metal.
According to the link on how to install the Openshift Environment via PXE, we need to edit the default file in the following path /var/lib/tftpboot/pxelinux.cfg/, in this file we need to determine the ignition file that will be loaded during the boot server, we must do this by editing ignition for the following servers: bootstrap, master and workers, once this modification is made, we start the respective servers.
In order to improve this process and make it easier, I created the boot menu below, where I already specify the 3 server profiles, through an interactive menu I can select which server it is and perform the installation.
Obs.: In this procedure, we will not cover the installation and configuration of PXE, only the menu.
So, let's start..
First, let's copy the file vesamenu.c32 to the tftp path: