Appendix A Kickstart Options

Using the Spacewalk web interface, you can specify the following Kickstart options for a Kickstart profile:

auth

(Mandatory) Specifies whether the shadow password file is used and the password algorithm. The default setting is --enableshadow --passalgo=sha256, which enables the shadow password file and specifies SHA256 as the password algorithm. If you change the password algorithm, the password hash specified for rootpwd must have been generated by using the same algorithm or you will not be able to log in to the installed system.

See the authconfig(8) manual page for a list of the options that you can specify.

autopart

Specifies whether the installation should perform automatic partitioning. If you specify this option, you should also specify clearpart and zerombr. Use ignoredisk to specify the disks that the Installer should or should not use.

autostep
autostep [ --autoscreenshot ]

Specifies that the Installer should step through every screen.

bootloader
bootloader --location={mbr|none|partition}
         [ --append="boot-loader kernel parameters" ]

(Mandatory) Specifies whether the boot loader is installed in the MBR or in a disk partition. The default setting is --location mbr.

cdrom

Specifies that the installation is from the first CD-ROM drive on the system.

clearpart
clearpart [ --all [ --initlabel ] |
            --linux |
            --list=part1,... |
            --none ]
          [ --drives=drive1,... ]
          [ --initlabel ]

Specifies whether to clear any existing partitions. For example, --drives=sda --all --initlabel would clear all partitions on the disk device sda and reinitialize the disk lablel.

Caution

The default setting of --all clears all partitions on all attached disks.

cmdline

Specifies that the installation should be performed in non-interactive, command-line mode.

device
device {eth|scsi}module_name --opts="module options"

Specifies the module name and options for a system device.

deviceprobe

Specifies how to probe for devices.

driverdisk
driverdisk partition [ --type=fstype ]

driverdisk --source=ftp://image_path 

driverdisk --source=http://server/image_path

driverdisk --source=nfs:server:image_path

Specifies a driver disk.

firewall
firewall { --disabled | --enabled } [ --ftp ] [ --http ]
         [ --port=inbound_port1:{tcp|udp},... ]
         [ --smtp ] [ --ssh ]
         [ --trust=network_interface ]...

Specifies the configuration of the system firewall. The default value is --disabled.

firstboot
firstboot { --enable | --disable | --reconfig }

Specifies how the setup agent starts when the system is first booted. If enabled, the initial-setup package must be installed.

graphical

Perform a graphical installation. It is not usual to select this option for non-interactive Kickstart installations.

halt

Specifies that the Installer should halt the system after installation is complete and wait for a key to be pressed on the console before rebooting.

harddrive
harddrive [ --biospart=BIOS_partition | --partition=partition ]
          [ --dir=install_directory ]

Specifies an installation directory on a local hard drive.

ignoredisk
ignoredisk { --drives=[disk1,...] | --only-use=[disk1,...]

Specifies disks that the Installer should or should not use during installation.

install

Specifies that the Installer should perform a new installation. This option is specified by default.

interactive

Specifies that the installation should be interactive.

iscsi
iscsi --ipaddr=target_addr --target=target_IQN
    [ --iface=network_interface ] [ --port=target_port ]
    [ --user=target_username --password=target_password ]
    [ --reverse-username=initiator_username
      --reverse-password=initiator_password ]

Specifies iSCSI storage to be used during installation.

iscsiname

Specifies the iSCSI initiator name for the system.

key

Specifies an installation key for package selection and system identification.

keyboard

(Mandatory) Specifies the keyboard layout. The default setting is us.

lang

(Mandatory) Specifies the language to be used for installation and the default locale on the installed system. The default setting is en_US.

logging
logging [ --host=remote_host ]
        [ --level={critical|debug|error|info|warning} ]
        [ --port=remote_port ]

Configures installation error logging.

monitor
monitor [ --hsync=Hfreq ] [ --vsync=Vfreq ]

Specifies the monitor's horizontal and vertical synchronization frequency settings.

mouse

Deprecated. Do not use.

multipath
multipath --name=pathname --device=device --rule=rule

Specifies a multipath device.

network
network --bootproto=dhcp [ --device=interface ]
      [ --onboot={no|yes} ]

network --bootproto=static [ --device=network_interface ]
      [ --onboot={no|yes} ]
      [ --noipv4 | --ip=IP_addr --netmask=netmask ]
      [ --noipv6 | --ipv6={auto|dhcp|IPv6_addr/prefix} ]
      [ --gateway=gateway_addr ]
      [ --nameserver=namesvr_addr ]

Specifies the configuration of the network interfaces. The default setting is --bootproto dhcp, which configures the network interface used for installation to use DHCP to obtain its network settings.

nfs
nfs --server=NFSserver --dir=install_directory
  [ --opts=mount_options ]

Specifies an NFS server and directory path to use for installation.

poweroff

Specifies that the Installer should power down the system after installation is complete.

reboot

Specifies that the Installer should reboot the system after installation is complete. This option is specified by default. For unattended installations, the poweroff option might be preferable.

rootpw
rootpw { --iscrypted | --plaintext } password

(Mandatory) Specifies the root password as a hash value or in plain text. This option is specified by default. If you specify a plain text password, select the Encrypt check box.

selinux
selinux { --disabled | --enforcing | --permissive }

Specifies the SELinux mode as disabled, enforcing, or permissive. The default setting is --permissive.

services
services [ --disabled=service1,... ]
         [ --enabled=serviceA,... ]

Specifies which services to disable or enable at the default run level.

shutdown

Specifies that the Installer should shut down the system after installation is complete but not power it down.

skipx

Do not install X on the system. This option is specified by default.

text

Perform a text-only installation. This option is specified by default as Kickstart installations are usually non-interactive.

timezone
timezome [ --utc ] timezone

(Mandatory) Specifies the time zone and whether the hardware clock uses UTC (--utc). The default setting is America/New_York.

upgrade

Specifies that the Installer should perform an upgrade installation.

url
url --url={file_path |
           ftp://username:password@server/path |
           http://server/path}

Specifies the URL of the Kickstart file. By default, the Kickstart URL is specified as a file path and Spacewalk writes the correct, full URL to the Kickstart file, depending on whether the system being installed connects directly to a Spacewalk server or via a Spacewalk proxy. If you enter a full URL instead of a file path, Spacewalk does not modify the URL.

user
user --name=username [ --groups=group1,... ]
  [ --homedir=directory ]
  [ --password=password ] [ --iscrypted ]
  [ --shell=shell_path ] [ --uid=UID ]

Specifies a user to be created on the system.

vnc
vnc [ --host=hostname ] [ --port=port ]
    [ --password=password ]

Specifies parameters for running a VNC server on the system being installed.

xconfig
xconfig [ --defaultdesktop={GNOME|KDE} ]
        [ --depth={8|16|24|32} ]
        [ --resolution=XxY ]
        [ --startxonboot ]

Specifies X Window System parameters.

zerombr

Specifies whether to clear the existing disk partitions. This option is specified by default.

zfcp
zfcp [ --devnum=num ] [ --fcplun=lun ]
     [ --scsiid=id ] [ --scsilun=lun ]
     [ --wwpn=name ]

Specifies zFCP parameters for Fibre Channel-attached SCSI devices.