From Fedora Project Wiki
(add a expected result to check install process runs unattended(ticket#217)) |
(Update kickstart install automation expected result) |
||
Line 6: | Line 6: | ||
# Boot the system and enter the following at the boot prompt <pre>linux ks=nfs:server:/path/ks.cfg </pre> For example:<pre>linux ks=nfs:hank.test.redhat.com:/mnt/autotest/testmachines/505-lp1/testcase/ks.cfg</pre> | # Boot the system and enter the following at the boot prompt <pre>linux ks=nfs:server:/path/ks.cfg </pre> For example:<pre>linux ks=nfs:hank.test.redhat.com:/mnt/autotest/testmachines/505-lp1/testcase/ks.cfg</pre> | ||
|results= | |results= | ||
<ol> | |||
<li> The kickstart file is successfully obtained from the specified location. This can be confirmed by the installer honoring the provided kickstart commands, or by inspecting the installer log file {{filename|anaconda.log}} for the following information | |||
<pre> | |||
12:54:47,629 INFO loader: getting kickstart file | |||
12:54:47,658 INFO loader: doing kickstart... setting it up | |||
12:54:51,709 INFO loader: file location: nfs://<someserver>:/path/to/ks.cfg | |||
12:54:52,047 INFO loader: setting up kickstart | |||
12:54:52,437 INFO loader: kickstartFromUrl | |||
</pre> | |||
<li> The installer should honor the kickstart commands provided in the {{filename|ks.cfg}} file | |||
<li> If sufficient kickstart commands are provided to fully automate an installation, the installer must not prompt for user input. | |||
}} | }} | ||
[[Category:Kickstart Delivery]] | [[Category:Kickstart Delivery]] |
Revision as of 14:08, 26 July 2011
Description
This test will verify that anaconda can download the requested kickstart file using a NFS URL. For further information on the ks=parameter, refer to 28.10. Starting a Kickstart Installation
How to test
- Prepare a valid kickstart file. For help creating a kickstart file, examine the file
/root/anaconda-ks.cfg
on a previously installed system. This file contains the kickstart instructions used to install that system. For additional guidance on kickstart syntax, see Anaconda/Kickstart - Copy the kickstart file to the NFS server and path to be used for the test
- Boot the system and enter the following at the boot prompt
linux ks=nfs:server:/path/ks.cfg
For example:linux ks=nfs:hank.test.redhat.com:/mnt/autotest/testmachines/505-lp1/testcase/ks.cfg
Expected Results
- The kickstart file is successfully obtained from the specified location. This can be confirmed by the installer honoring the provided kickstart commands, or by inspecting the installer log file
anaconda.log
for the following information12:54:47,629 INFO loader: getting kickstart file 12:54:47,658 INFO loader: doing kickstart... setting it up 12:54:51,709 INFO loader: file location: nfs://<someserver>:/path/to/ks.cfg 12:54:52,047 INFO loader: setting up kickstart 12:54:52,437 INFO loader: kickstartFromUrl
- The installer should honor the kickstart commands provided in the
ks.cfg
file - If sufficient kickstart commands are provided to fully automate an installation, the installer must not prompt for user input.