31.2. Configuration de démarrage PXE
L'étape suivante consiste à copier sur le serveur
tftp
les fichiers nécessaires au démarrage de l'installation de sorte que le client puisse les trouver lorsqu'il en a besoin. Le serveur tftp
est généralement le même serveur que le serveur réseau exportant l'arborescence d'installation.
Pour copier ces fichiers, exécutez l'Outil de démarrage réseau sur le serveur NFS, FTP ou HTTP. Un serveur PXE différent n'est pas nécessaire.
31.2.1. Configuration de la ligne de commande
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 Section 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>
La liste figurant ci-dessous énumère les options :
-a
— Permet de spécifier qu'une instance du SE est ajoutée à la configuration 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 — Permet de spécifier le nom du serveur NFS, FTP ou HTTP après l'option-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>
Pour davantage d'informations sur les options disponibles de la commande
pxeos
, reportez-vous à la page de manuel pxeos
.