# Specify
the IP address for
this client. host pxe_client {
hardware ethernet 00:1a:ca:ff:ff:01; fixed-address 192.168.100.2;
} EOF
Step 5: Set Up the HTTP Server
The TFTP server allows the PXE boot to load the initrd and kernel. The BlueField Controller Card obtains all the other required sources through the
network, thus, making it necessary to set up an HTTP.
To configure the http server to serve the contents of the installation disk, run the following command:
cat >/etc/httpd/conf.d/pxeboot.conf <<EOF Alias /centos7
/mnt
<Directory /mnt>
Options Indexes FollowSymLinks Require ip 127.0.0.1
192.168.100.0/24
</Directory>
EOF
systemctl enable httpd systemctl restart
httpd
Flashing BlueField Controller Card Bootloader Code
Before installing an OS, flash the bootloader code first. The BlueField Controller Card is shipped with an initial bootloader code, and should be updated
with the following instructions.
It is recommended to back up the previous dhcpd.conf file before overwriting it.
Setting up the HTTP server requires the HTTP package. If it is not installed, please install it via “yum install httpd” or “apt-get httpd”, depending
on your Linux distribution.