31.2. Configuração de Inicialização PXE
O próximo passo é copiar os arquivos necessários para iniciar a instalação para o servidor
tftp
para que eles possam ser encontrados quando o cliente precisar deles. O servidor tftp
é normalmente o mesmo servidor que o servidor de rede exportando a árvore de instalação.
Para copiar estes arquivos, rode a Ferramenta de Inicialização da Rede no servidor NFS, FTP, ou HTTP. Não é necessário ter um servidor PXE separado.
31.2.1. Configuração da Linha de Comando Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
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 Seção 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>
A lista a seguir explica as opções:
-a
— Especifica que uma instância do SO está sendo adicionada à configuração do 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
cliente.exemplo.com — Fornece o nome do servidor NFS, FTP, ou HTTP após a opção-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>
-A 0 -u <username> -p <password>
Para mais informações sobre as opções de linha de comando disponíveis para o comando
pxeos
, consulte a página man do pxeos
.