From Fedora Project Wiki

m (improve formatting)
(inst.ks)
Line 5: Line 5:
# Prepare a valid kickstart file.  For help creating a kickstart file, examine the file {{filename|/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]].
# Prepare a valid kickstart file.  For help creating a kickstart file, examine the file {{filename|/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 a publicly-accessible place on your HTTP host.
# Copy the kickstart file to a publicly-accessible place on your HTTP host.
# Boot the system and add a <code>ks</code> argument like the following to the boot command line:<pre>ks=http://server.tld/path/to/your/ks.cfg</pre>
# Boot the system and add a <code>inst.ks</code> argument like the following to the boot command line:<pre>inst.ks=http://server.tld/path/to/your/ks.cfg</pre>
{{admon/note|Prepared sample kickstart|You can use the following kickstart for a default installation. Please note that this will erase all your disks. The root password is 'fedora'. <pre>http://mkrizek.fedorapeople.org/default.ks</pre>}}
{{admon/note|Prepared sample kickstart|You can use the following kickstart for a default installation. Please note that this will erase all your disks. The root password is 'fedora'. <pre>http://mkrizek.fedorapeople.org/default.ks</pre>}}
|results=
|results=

Revision as of 15:49, 25 June 2013

Description

This test will verify that anaconda can download the requested kickstart file using a HTTP url. It requires a valid kickstart file and a working HTTP host.


How to test

  1. 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.
  2. Copy the kickstart file to a publicly-accessible place on your HTTP host.
  3. Boot the system and add a inst.ks argument like the following to the boot command line:
    inst.ks=http://server.tld/path/to/your/ks.cfg
Prepared sample kickstart
You can use the following kickstart for a default installation. Please note that this will erase all your disks. The root password is 'fedora'.
http://mkrizek.fedorapeople.org/default.ks

Expected Results

  1. The ks.cfg is successfully obtained from the specified location
  2. The installer should honor the kickstart commands provided in the ks.cfg file
  3. If sufficient commands are provided to fully automate an installation, the installer must not prompt for user input.