31.3. 添​​​​​​​加​​​​​​​ PXE 主​​​​​​​机​​​​​​​

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

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

图 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 帮​​​​​​​助​​​​​​​页​​​​​​​。​​​​​​​

为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。