The software described in this documentation is either in Extended Support or Sustaining Support. See for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

3.1.1 Installation Options Section

The first part of a kickstart file defines the installation options and their associated values, and it defines how to configure the system storage, for example:

#platform=x86, AMD64, or Intel EM64T
# Firewall configuration
firewall --enabled --service=ssh

# Install OS instead of upgrade

# Use CDROM installation media
repo --name="Oracle Linux Server" --baseurl=cdrom:sr0 --cost=100

# System authorization information
auth  --useshadow  --passalgo=sha512

# Root password
rootpw --iscrypted SHA512_password_hash

# Use graphical install
firstboot --disable

# System keyboard
keyboard us

# System language
lang en_US

# SELinux configuration
selinux --enforcing

# Installation logging level
logging --level=info

# System timezone
timezone  America/Los_Angeles

# Network information
network --bootproto=dhcp --device=eth0 --onboot=on

# System bootloader configuration
bootloader --append="rhgb crashkernel=auto quiet" --location=mbr --driveorder="sda"

# Non-administrative user
user --name=user --homedir=/home/user --password=SHA512_password_hash --iscrypted

# Partition information

clearpart --all --drives=sda

part /boot --fstype=ext4 --size=500
part pv.008002 --grow --size=1

volgroup vg_hostname --pesize=4096 pv.008002
logvol / --fstype=ext4 --name=lv_root --vgname=vg_hostname --grow --size=1024 --maxsize=51200
logvol swap --name=lv_swap --vgname=vg_hostname --grow --size=2016 --maxsize=4032

Comments in the kickstart file begin with a # character.


The Unbreakable Enterprise Kernel supports the use of the setting crashkernel=auto for UEK release 3 quarterly update 1 and later.

PXE cannot bring up the network interface unless you include a line such as the following:

network --bootproto=dhcp --device=eth0 --onboot=on

You can include multiple repo lines in the file, For example, if you use an HTTP-based network installation server, you might want to include both the Server and UEK2 repositories.

url --url
repo --name="OL6.4 Server repo" --baseurl=
repo --name="OL6.4 UEK R2 repo" --baseurl=

You can also include repo lines that point to the latest channels on the Oracle Linux yum server so that the system is automatically up to date after the installation. For example:

repo --name="OL6.4 latest" \
repo --name="OL6.4 UEK R2 latest" \

Do not use the \ line-continuation character in a Kickstart file. This character is used in the example to break long lines for printing.