Red Hat Training

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

28.8.2. Verfügbarmachen der Kickstart-Datei im Netzwerk

Netzwerkinstallationen mit Hilfe von Kickstart sind recht häufig, da Systemadministratoren die Installation auf vielen, über das Netzwerk verbundenen Computern schnell und problemlos automatisieren können. In der Regel sollten die Administratoren sowohl einen BOOTP/DHCP-Server als auch einen NFS-Server im lokalen Netzwerk zur Verfügung haben. Der BOOTP/DHCP-Server wird verwendet, um dem Client Netzwerkinformationen zu senden, während die während der Installation verwendeten Dateien vom NFS-Server bereitgestellt werden. Diese beiden Server werden häufig auf demselben Rechner ausgeführt. Dies ist allerdings keine Voraussetzung.
Um eine netzwerkbasierte Kickstart-Installation durchzuführen, benötigen Sie einen BOOTP-/DHCP-Server in Ihrem Netzwerk. Dieser muss Informationen zur Konfiguration der Maschine umfassen, auf dem Sie versuchen, Red Hat Enterprise Linux zu installieren. Der BOOTP-/DHCP-Server versorgt den Client mit den Informationen zum Netzwerk, sowie der Position der Kickstart-Datei.
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.
Nachfolgend ein Beispiel für eine Zeile aus der Datei dhcpd.conf für den DHCP-Server:
filename "/usr/new-machine/kickstart/"; next-server blarg.redhat.com;
Beachten Sie, dass Sie den Wert nach filename durch den Namen der Kickstart-Datei ersetzen müssen (oder dem Verzeichnis, in dem die Kickstart-Datei abgelegt ist) sowie den Wert nach next-server durch den NFS-Servernamen.
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.