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 位置/子網路 — IP 位置、合條件的主機名稱或系統子網路可以連接到 PXE 伺服器進行安裝。
- 作業系統 — 安裝作業系統識別器至用戶端。這個列表植於由 網路安裝對話 所建立的網路安裝實體中。
- 序列主控台 — 這個選項啟用序列主控台。
- 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
工具,來新增聯接到 PEX 伺服器的主機。
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
man page。