Menu Close
Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
31.3. 添加 PXE 主机
After configuring the network server, the interface as shown in 图 31.1 “Add Hosts” is displayed.

图 31.1. 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 第 31.3.1 节 “命令行配置”.
要添加主机,点击「新增」按钮。

图 31.2. Add a Host
输入以下信息:
- 「主机名或 IP 地址/子网」 — 被允许连接 PXE 服务器来进行安装的 IP 地址、全限定主机名或者系统的子网。
- 「操作系统」 — 在本客户机上安装的操作系统的标识符。这个列表是根据从「网络安装对话框」里创建的安装实例产生的。
- 「串行控制台」 — 这个选项允许对串行控制台的使用。
- Kickstart File — The location of a kickstart file to use, such as
http://server.example.com/kickstart/ks.cfg
. This file can be created with the Kickstart Configurator. Refer to 第 29 章 Kickstart Configurator for details.
忽略「Snapshot 名」和「以太」选项。它们仅用于无盘环境。
31.3.1. 命令行配置
如果网络服务器没有运行 X,
system-config-netboot
软件包里的 pxeboot
工具可以用来添加允许连接 PXE 服务器的主机。
pxeboot -a -K <kickstart> -O <os-identifier> -r <value> <host>
以下列表解释了这些选项:
-a
— 指定要添加的主机。-K
<kickstart> — The location of the kickstart file, if available.-O
<os-identifier> — Specifies the operating system identifier as defined in 第 31.2 节 “PXE 引导配置”.-r
<value> — Specifies the ram disk size.- <host> — Specifies the IP address or hostname of the host to add.
关于
pxeboot
命令的可用命令行选项的更多信息,请参考 pxeboot
帮助页。