Red Hat Training

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

28.8.2. 使​​​​​​​ Kickstart 檔​​​​​​​案​​​​​​​可​​​​​​​經​​​​​​​由​​​​​​​網​​​​​​​路​​​​​​​存​​​​​​​取​​​​​​​

使​​​​​​​用​​​​​​​ kickstart 的​​​​​​​網​​​​​​​路​​​​​​​安​​​​​​​裝​​​​​​​是​​​​​​​很​​​​​​​常​​​​​​​見​​​​​​​的​​​​​​​,因​​​​​​​為​​​​​​​系​​​​​​​統​​​​​​​管​​​​​​​理​​​​​​​員​​​​​​​可​​​​​​​以​​​​​​​在​​​​​​​許​​​​​​​多​​​​​​​網​​​​​​​路​​​​​​​連​​​​​​​線​​​​​​​的​​​​​​​電​​​​​​​腦​​​​​​​上​​​​​​​快​​​​​​​速​​​​​​​且​​​​​​​簡​​​​​​​單​​​​​​​的​​​​​​​執​​​​​​​行​​​​​​​自​​​​​​​動​​​​​​​安​​​​​​​裝​​​​​​​。​​​​​​​一​​​​​​​般​​​​​​​來​​​​​​​說​​​​​​​,這​​​​​​​種​​​​​​​方​​​​​​​法​​​​​​​最​​​​​​​常​​​​​​​用​​​​​​​在​​​​​​​當​​​​​​​系​​​​​​​統​​​​​​​管​​​​​​​理​​​​​​​員​​​​​​​在​​​​​​​區​​​​​​​域​​​​​​​網​​​​​​​路​​​​​​​中​​​​​​​擁​​​​​​​有​​​​​​​一​​​​​​​部​​​​​​​ BOOTP/DHCP 伺​​​​​​​服​​​​​​​器​​​​​​​以​​​​​​​及​​​​​​​一​​​​​​​部​​​​​​​ NFS 伺​​​​​​​服​​​​​​​器​​​​​​​,BOOTP/DHCP 伺​​​​​​​服​​​​​​​器​​​​​​​是​​​​​​​使​​​​​​​用​​​​​​​來​​​​​​​提​​​​​​​供​​​​​​​用​​​​​​​戶​​​​​​​端​​​​​​​系​​​​​​​統​​​​​​​它​​​​​​​的​​​​​​​網​​​​​​​路​​​​​​​連​​​​​​​線​​​​​​​資​​​​​​​訊​​​​​​​,而​​​​​​​安​​​​​​​裝​​​​​​​過​​​​​​​程​​​​​​​中​​​​​​​所​​​​​​​用​​​​​​​到​​​​​​​的​​​​​​​檔​​​​​​​案​​​​​​​,實​​​​​​​際​​​​​​​上​​​​​​​是​​​​​​​由​​​​​​​ NFS 伺​​​​​​​服​​​​​​​器​​​​​​​所​​​​​​​供​​​​​​​應​​​​​​​的​​​​​​​。​​​​​​​通​​​​​​​常​​​​​​​這​​​​​​​兩​​​​​​​部​​​​​​​伺​​​​​​​服​​​​​​​器​​​​​​​是​​​​​​​在​​​​​​​同​​​​​​​一​​​​​​​部​​​​​​​實​​​​​​​體​​​​​​​機​​​​​​​器​​​​​​​上​​​​​​​執​​​​​​​行​​​​​​​,不​​​​​​​過​​​​​​​這​​​​​​​並​​​​​​​不​​​​​​​是​​​​​​​必​​​​​​​要​​​​​​​的​​​​​​​。​​​​​​​
從​​​​​​​網​​​​​​​路​​​​​​​上​​​​​​​執​​​​​​​行​​​​​​​ kickstart 安​​​​​​​裝​​​​​​​,您​​​​​​​的​​​​​​​網​​​​​​​路​​​​​​​上​​​​​​​必​​​​​​​須​​​​​​​有​​​​​​​ BOOTP/DHCP 伺​​​​​​​服​​​​​​​器​​​​​​​,並​​​​​​​且​​​​​​​您​​​​​​​必​​​​​​​須​​​​​​​提​​​​​​​供​​​​​​​您​​​​​​​欲​​​​​​​安​​​​​​​裝​​​​​​​ Red Hat Enterprise Linux 的​​​​​​​電​​​​​​​腦​​​​​​​之​​​​​​​設​​​​​​​定​​​​​​​資​​​​​​​訊​​​​​​​。​​​​​​​BOOTP/DCHP 伺​​​​​​​服​​​​​​​器​​​​​​​提​​​​​​​供​​​​​​​用​​​​​​​戶​​​​​​​端​​​​​​​其​​​​​​​網​​​​​​​路​​​​​​​資​​​​​​​訊​​​​​​​以​​​​​​​及​​​​​​​ 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.
這​​​​​​​裡​​​​​​​是​​​​​​​ DHCP 伺​​​​​​​服​​​​​​​器​​​​​​​的​​​​​​​ dhcpd.conf 檔​​​​​​​案​​​​​​​中​​​​​​​一​​​​​​​行​​​​​​​的​​​​​​​範​​​​​​​例​​​​​​​:
filename "/usr/new-machine/kickstart/"; next-server blarg.redhat.com;
請​​​​​​​注​​​​​​​意​​​​​​​您​​​​​​​必​​​​​​​須​​​​​​​以​​​​​​​ kickstart 的​​​​​​​檔​​​​​​​案​​​​​​​名​​​​​​​稱​​​​​​​取​​​​​​​代​​​​​​​ filename 之​​​​​​​後​​​​​​​的​​​​​​​數​​​​​​​值​​​​​​​(或​​​​​​​者​​​​​​​ kickstart 檔​​​​​​​案​​​​​​​所​​​​​​​存​​​​​​​放​​​​​​​的​​​​​​​目​​​​​​​錄​​​​​​​),以​​​​​​​ NFS 伺​​​​​​​服​​​​​​​器​​​​​​​的​​​​​​​名​​​​​​​稱​​​​​​​取​​​​​​​代​​​​​​​ next-server 之​​​​​​​後​​​​​​​的​​​​​​​數​​​​​​​值​​​​​​​。​​​​​​​
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.