31.2. PXE-Konfiguration zum Hochfahren
Kopieren Sie im nächsten Schritt die für den Installationsstart notwendigen Dateien auf den
tftp
-Server, damit sie gefunden werden, wenn sie der Client braucht. Der tftp
-Server ist normalerweise der gleiche Server wie der Netzwerk-Server, der den Installationsbaum exportiert.
Um diese Dateien zu kopieren, führen Sie das Tool zum Booten via Netzwerk auf dem NFS-, FTP- oder HTTP-Server aus. Ein gesonderter PXE-Server ist nicht erforderlich.
31.2.1. Konfiguration der Befehlszeile Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
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 Abschnitt 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>
pxeos -a -i "<description>" -p <NFS|HTTP|FTP> -D 0 -s client.example.com \
-L <net-location> -k <kernel> -K <kickstart> <os-identifer>
Die folgende Liste erklärt die Optionen:
-a
— Legt fest, dass ein OS-Vorgang zur PXE-Konfiguration hinzugefügt wird.-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 — Geben Sie den Namen des NFS-, FTP- oder HTTP-Servers nach der Option-s
an.-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>
-A 0 -u <username> -p <password>
Weitere Informationen zu Kommandozeilenoptionen, die für den Befehl
pxeos
zur Verfügung stehen, finden Sie auf der pxeos
Handbuchseite.