Ricerca

28.8.2. Rendere il file kickstart disponibile sulla rete

download PDF
Le installazioni kickstart via rete sono molto diffuse, poiché gli amministratori di sistema possono facilmente automatizzare in modo rapido e indolore il processo di installazione su numerosi computer in rete. Di norma, l'approccio più comune prevede che l'amministratore disponga di un server BOOTP/DHCP e di un server NFS nella rete locale. Il server BOOTP/DCHP viene utilizzato per fornire al computer client le informazioni relative alla propria rete, mentre i file utilizzati nel corso dell'installazione sono forniti dal server NFS. Spesso, ma non necessariamente, questi due server funzionano sulla stessa macchina fisica.
Per eseguire una installazione kickstart basata sulla rete, sarà necessario avere sulla vostra rete un server BOOTP/DHCP, il quale include le informazioni riguardanti la configurazione per la macchina sulla quale state cercando di installare Red Hat Enterprise Linux. Il server BOOTP/DHCP fornisce al client le proprie informazioni di networking insieme alla posizione del file kickstart.
If a kickstart file is specified by the BOOTP/DHCP server, the client system attempts an NFS mount of the file's path, and copies the specified file to the client, using it as the kickstart file. The exact settings required vary depending on the BOOTP/DHCP server you use.
Di seguito viene riportato un esempio di una riga dal file dhcpd.conf per il server DHCP:
filename "/usr/new-machine/kickstart/"; next-server blarg.redhat.com;
Da notare che sarà necessario sostituire il valore dopo filename, con il nome del file kickstart (o la directory nella quale risiede il file kickstart), ed il valore dopo next-server con il server name NFS.
If the file name returned by the BOOTP/DHCP server ends with a slash ("/"), then it is interpreted as a path only. In this case, the client system mounts that path using NFS, and searches for a particular file. The file name the client searches for is:
<ip-addr>-kickstart
The <ip-addr> section of the file name should be replaced with the client's IP address in dotted decimal notation. For example, the file name for a computer with an IP address of 10.10.0.1 would be 10.10.0.1-kickstart.
Note that if you do not specify a server name, then the client system attempts to use the server that answered the BOOTP/DHCP request as its NFS server. If you do not specify a path or file name, the client system tries to mount /kickstart from the BOOTP/DHCP server and tries to find the kickstart file using the same <ip-addr>-kickstart file name as described above.
Red Hat logoGithubRedditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita ilBlog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

© 2024 Red Hat, Inc.