Kickstart entries - Red Hat Linux

The Kickstart Entries tab lets you modify the contents of the kickstart file, which is a text file used in unattended installations of Red Hat Linux.

For more information, see the following sections:

When you define a Red Hat Linux system package, your input on the system package tabs is automatically converted into text in the first edit box at the top of the Kickstart Entries tab.

You can add entries to the Kickstart file and customize the file by editing existing entries.

Note

Ensure that the Kickstart file does not grow beyond the size limit of 64 kilobytes. For more information, see Serialization error when saving the system package due to large kickstart file in Troubleshooting provisioning issues.

TaskProcedure

To leave existing Kickstart entries unchanged and add entries

To leave the automatically generated entries in the first edit box unchanged and add entries for configuration elements that are not covered by the system package tabs, do the following:

  1. Leave Customize the Kickstart file unchecked.
  2. Add your new entries in the Additional entries for the kickstart file box.
    If your system package is for Red Hat Linux version 7, begin your additional entries with a %post line and end them with a %end line. This syntax is required on Red Hat Linux as of version 7.

To change existing Kickstart entries

To modify the automatically generated entries in the first edit box and add entries, do the following:

  1. Check Customize the Kickstart file.
  2. Modify the entries in the first edit box.
  3. Then, still in the first edit box, add your additional entries.
    In this scenario, because you want to modify the automatically generated entries in the first edit box, you must add your additional entries to the first edit box, not the second edit box.

Portion of a Kickstart file for Red Hat Enterprise Linux 6

install
text
timezone --utc Africa/Abidjan
lang fr_FR
key --skip
keyboard us
network --bootproto dhcp --device NET_DEVICE --hostname HOST_NAME
url --url http://DATA_STORE_IP/DATA_STORE.VIRTUAL_DIR/RHEL6
firewall --disabled
zerombr
clearpart --all
bootloader --location=mbr
part / --size 1 --grow --fstype ext4 --ondisk sda
rootpw --iscrypted ROOT_PASSWORD
auth --useshakow --enablemd5
rebooot
%packages
@french-support
...

Proceed to the Post-install configuration - Red Hat Linux tab.

Was this page helpful? Yes No Submitting... Thank you

Comments