Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

31.2. Configuración del arranque PXE

El próximo paso es copiar los archivos necesarios para iniciar la instalación al servidor tftp para que se puedan encontrar cuando el cliente los solicite. El servidor tftp usualmente es el mismo servidor que el servidor de red exportando el árbol de instalación.
Para copiar estos archivos, ejecute la aplicación Herramienta de arranque desde la red en el servidor NFS, FTP o HTTP. No se requiere un servidor PXE separado.

31.2.1. Configuración de usuarios desde la línea de comandos

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 Sección 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 lista siguiente explica las opciones:
  • -a — Especifica que se está añadiendo una instancia del sistema operativo a la configuración de 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 since pxeos can be used to configure a diskless environment as well.
  • -s cliente.ejemplo.com — Suministra el nombre del servidor NFS, FTP o HTTP después de la opción -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>
Para obtener mayor información sobre las opciones de línea de comando disponibles para el comando pxeos, consulte la página man de pxeos.