2.4. Setting Up a DHCP Server

Now you can proceed with configuring a DHCP server. To configure the DHCP server for installing OpenVZ over the network, open the dhcpd.conf file (usually, it is located in the /etc or /etc/dhcp directory) for editing and add the following strings to this file:

next-server <PXE_server_IP_address>;
filename "/pxelinux.0";

Note

Note: To configure a DHCP server for installation on EFI-based systems, specify filename "/bootx64.efi" instead of filename "/pxelinux.0" in the dhcpd.conf file (where /bootx64.efi is the directory to which you copied the EFI boot images when setting up the TFTP server).