Show Table of Contents
为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。
31.2. PXE 引导配置
下一步是复制启动安装所必需的文件到
tftp
服务器,这样当客户请求时就可以找到。tftp
服务器和输出安装树的网络服务器通常是同一个。
要复制这些文件,你可以在 NFS、FTP 或 HTTP 服务器上运行「网络引导工具」。你并不需要一台独立的 PXE 服务器。
31.2.1. 命令行配置
If the network server is not running X, the
pxeos
command line utility, which is part of the system-config-netboot
package, can be used to configure the tftp
server files as described in 第 31.4 节 “TFTPD”:
pxeos -a -i "<description>" -p <NFS|HTTP|FTP> -D 0 -s client.example.com \ -L <net-location> -k <kernel> -K <kickstart> <os-identifer>
以下列表解释了这些选项:
-a
— 指定被添加到 PXE 配置的操作系统实例。-i
"<description>" — Replace "<description>" with a description of the OS instance.-p
<NFS|HTTP|FTP> — Specify which of the NFS, FTP, or HTTP protocols to use for installation. Only one may be specified.-D
<0|1> — Specify "0
" which indicates that it is not a diskless configuration sincepxeos
can be used to configure a diskless environment as well.-s
client.example.com — 提供 NFS、FTP 或 HTTP 服务器的名字。-L
<net-location> — Provide the location of the installation tree on that server after the-L
option.-k
<kernel> — Provide the specific kernel version of the server installation tree for booting.-K
<kickstart> — Provide the location of the kickstart file, if available.- <os-identifer> — Specify the OS identifier, which is used as the directory name in the
/tftpboot/linux-install/
directory.
If FTP is selected as the installation protocol and anonymous login is not available, specify a username and password for login, with the following options before <os-identifer> in the previous command:
-A 0 -u <username> -p <password>
关于
pxeos
命令的命令行选项的更多信息,请参考 pxeos
帮助页。
为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。