32.11. Starting a Kickstart Installation
useroption in the Kickstart file before installing additional systems from it (refer to Section 32.4, “Kickstart Options” for details) or log into the installed system with a virtual console as root and add users with the
kscommand line argument is passed to the kernel.
- With Driver Disk
- If you need to use a driver disk with kickstart, specify the
ddoption as well. For example, if installation requires a kickstart file on a local hard drive and also requires a driver disk, boot the system with:
linux ks=hd:partition:/path/ks.cfg dd
- Boot CD-ROM
- If the kickstart file is on a boot CD-ROM as described in Section 32.9.1, “Creating Kickstart Boot Media”, insert the CD-ROM into the system, boot the system, and enter the following command at the
ks.cfgis the name of the kickstart file):
- Prompt the user to select an installation source, even if a Red Hat Enterprise Linux installation DVD is detected on the system.
- Prompt for network configuration in the first stage of installation regardless of installation method.
- Make kickstart non-interactive. Used for debugging and to generate screenshots. This option should not be used when deploying a system because it may disrupt package installation.
- Start up pdb immediately.
- Use a driver disk.
- Sends a custom DHCP vendor class identifier. ISC's dhcpcd can inspect this value using "option vendor-class-identifier".
- Comma separated list of nameservers to use for a network installation.
- Same as 'dd'.
- Turns on special features:
- allows partitioning of removable media
- prompts for a driver disk
- Gateway to use for a network installation.
- Force graphical install. Required to have ftp/http use GUI.
- Prompt user for ISA devices configuration.
- IP to use for a network installation, use 'dhcp' for DHCP.
- IPv6 configuration for the device. Use
autofor automatic configuration (SLAAC, SLAAC with DHCPv6), or
dhcpfor DHCPv6 only configuration (no router advertisements).
- Keyboard layout to use. Valid layouts include:
bg_pho-utf8— Bulgarian (Phonetic)
br-abnt2— Brazilian (ABNT2)
cf— French Canadian
cz-lat2— Czech (qwerty)
de-latin1— German (latin1)
de-latin1-nodeadkeys— German (latin1 without dead keys)
dk-latin1— Danish (latin1)
fi-latin1— Finnish (latin1)
fr-latin9— French (latin9)
fr-latin1— French (latin1)
fr-pc— French (pc)
fr_CH— Swiss French
fr_CH-latin1— Swiss French (latin1)
hu101— Hungarian (101 key)
it-ibm— Italian (IBM)
it2— Italian (it2)
la-latin1— Latin American
sr-latin— Serbian (latin)
sg— Swiss German
sg-latin1— Swiss German (latin1)
sk-qwerty— Slovak (qwerty)
uk— United Kingdom
us-acentos— U.S. International
us— U.S. English
/usr/lib/python2.6/site-packages/system_config_keyboard/keyboard_models.pyon 32-bit systems or
/usr/lib64/python2.6/site-packages/system_config_keyboard/keyboard_models.pyon 64-bit systems also contains this list and is part of the system-config-keyboard package.
- The installation program looks for the kickstart file on the NFS server <server>, as file <path>. The installation program uses DHCP to configure the Ethernet card. For example, if your NFS server is server.example.com and the kickstart file is in the NFS share
/mydir/ks.cfg, the correct boot command would be
- The installation program looks for the kickstart file on the HTTP or HTTPS server <server>, as file <path>. The installation program uses DHCP to configure the Ethernet card. For example, if your HTTP server is server.example.com and the kickstart file is in the HTTP directory
/mydir/ks.cfg, the correct boot command would be
- The installation program mounts the file system on <device> (which must be vfat or ext2), and looks for the kickstart configuration file as <file> in that file system (for example,
- The installation program mounts the file system on the specified partition on the specified BIOS device <biosdev>, and looks for the kickstart configuration file specified in <path> (for example,
ks=bd:80p3:/mydir/ks.cfg). Note this does not work for BIOS RAID sets.
- The installation program tries to read the file <file> from the file system; no mounts are done. This is normally used if the kickstart file is already on the
- The installation program looks for the kickstart file on CD-ROM, as file <path>.
ksis used alone, the installation program configures the Ethernet card to use DHCP. The kickstart file is read from NFS server specified by DHCP option server-name. The name of the kickstart file is one of the following:
- If DHCP is specified and the boot file begins with a
/, the boot file provided by DHCP is looked for on the NFS server.
- If DHCP is specified and the boot file begins with something other than a
/, the boot file provided by DHCP is looked for in the
/kickstartdirectory on the NFS server.
- If DHCP did not specify a boot file, then the installation program tries to read the file
/kickstart/184.108.40.206-kickstart, where 220.127.116.11 is the numeric IP address of the machine being installed.
- The installation program uses this network device to connect to the network. You can specify the device in one of five ways:
For example, consider a system connected to an NFS server through the eth1 device. To perform a kickstart installation on this system using a kickstart file from the NFS server, you would use the command
- the device name of the interface, for example,
- the MAC address of the interface, for example,
- the keyword
link, which specifies the first interface with its link in the
- the keyword
bootif, which uses the MAC address that pxelinux set in the
IPAPPEND 2in your
pxelinux.cfgfile to have pxelinux set the
- the keyword
ibft, which uses the MAC address of the interface specified by iBFT
ks=nfs:<server>:/<path> ksdevice=eth1at the
- Adds HTTP headers to ks=http:// request that can be helpful for provisioning systems. Includes MAC address of all nics in CGI environment variables of the form: "X-RHN-Provisioning-MAC-0: eth0 01:23:45:67:89:ab".
- Language to use for the installation. This should be a language which is valid to be used with the 'lang' kickstart command.
- Set the minimum level required for messages to be logged. Values for <level> are debug, info, warning, error, and critical. The default value is info.
- Activates loader code to give user option of testing integrity of install source (if an ISO-based method).
- Netmask to use for a network installation.
- If GUI fails, exit.
- Do not load the VGA16 framebuffer required for doing text-mode installation in some languages.
- Do not load support for firewire devices.
- Disable IPv4 networking on the device specified by the
- Disable IPv6 networking on all network devices on the installed system, and during installation.
ImportantDuring installations from a PXE server, IPv6 networking might become active before anaconda processes the Kickstart file. If so, this option will have no effect during installation.
NoteTo disable IPv6 on the installed system, the
--noipv6kickstart option must be used on each network device, in addition to the
noipv6boot option. See the Knowledgebase article at https://access.redhat.com/solutions/1565723 for more information about disabling IPv6 system-wide.
- Don't automatically mount any installed Linux partitions in rescue mode.
- Do not auto-probe network devices.
- Do not attempt to load support for parallel ports.
- Do not pass information about the keyboard and mouse from anaconda stage 1 (the loader) to stage 2 (the installer).
- Ignore PCMCIA controllers in the system.
- Do not automatically probe for hardware; prompt the user to allow anaconda to probe for particular categories of hardware.
- Do not put a shell on tty2 during install.
- Do a DVD based installation.
- Use <path> for an FTP installation.
- Use <path> on <dev> for a hard drive installation.
- Use <path> for an HTTP installation.
- Use <path> for an HTTPS installation.
- Use <path> for an NFS installation.
- Run rescue environment.
- Run installer in mode specified, '1024x768' for example.
- Turns on serial console support.
- Do not probe the Data Display Channel (DDC) of the monitor. This option provides a workaround if the DDC probe causes the system to stop responding.
- Once installation is up and running, send log messages to the syslog process on <host>, and optionally, on port <port>. Requires the remote syslog process to accept connections (the -r option).
- Force text mode install.
ImportantIf you select text mode for a kickstart installation, make sure that you specify choices for the partitioning, bootloader, and package selection options. These steps are automated in the text mode, and anaconda cannot prompt you for missing information. If you do not provide choices for these options, anaconda will stop the installation process.
- Prompt for storage device containing updates (bug fixes).
- Image containing updates over FTP.
- Image containing updates over HTTP.
- Image containing updates over HTTPS.
- Offer to upgrade any Linux installation detected on the system, regardless of the contents or the existence of the
- Enable vnc-based installation. You will need to connect to the machine using a vnc client application.
- Connect to the vnc client named <host>, and optionally use port <port>.Requires 'vnc' option to be specified as well.
- Enable a password for the vnc connection. This will prevent someone from inadvertently connecting to the vnc-based installation.Requires 'vnc' option to be specified as well.