31.2. Configurazione di avvio PXE
Nella fase successiva copiate i file sul server
tftp
necessari per iniziare l'installazione, in modo che gli stessi possano essere disponibili su richiesta del client. Il server tftp
è generalmente lo stesso server del server di rete che esporta l'albero d'installazione.
Per copiare i suddetti file eseguite Network Booting Tool sul server NFS, FTP, o HTTP. Non sarà necessario un server PXE separato.
31.2.1. Configurazione dalla linea di comando
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 Sezione 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>
Il seguente elenco spiega le diverse opzioni:
-a
— Specifica che un esempio di OS è stato aggiunto alla configurazione 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 — Fornisce il nome del server NFS, FTP, o HTTP dopo l'opzione-s
.-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>
Per maggiori informazioni sulle opzioni della linea di comando disponibili per il comando
pxeos
, consultate la pagina man di pxeos
.