31.3. Adding PXE Hosts

31.3. Adding PXE Hosts

After configuring the network server, the interface as shown in Figure 31.2, “Add Hosts” is displayed.

Add Hosts

Figure 31.2. Add Hosts

The next step is to configure which hosts are allowed to connect to the PXE boot server. For the command line version of this step, refer to Section 31.3.1, “Command Line Configuration”.

To add hosts, click the New button.

Add a Host

Figure 31.3. Add a Host

Enter the following information:

Ignore the Snapshot name and Ethernet options. They are only used for diskless environments.

31.3.1. Command Line Configuration

If the network server is not running X, the pxeboot utility, a part of the system-config-netboot package, can be used to add hosts which are allowed to connect to the PXE server:

          pxeboot -a -K <kickstart> -O <os-identifier> -r <value><host>

The following list explains the options:

  • -a — Specifies that a host is to be added.

  • -K<kickstart> — The location of the kickstart file, if available.

  • -O<os-identifier> — Specifies the operating system identifier as defined in Section 31.2, “PXE Boot Configuration”.

  • -r<value> — Specifies the ram disk size.

  • <host> — Specifies the IP address or hostname of the host to add.

For more information on command line options available for the pxeboot command, refer to the pxeboot man page.

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.