Kickstart Generator

Updated -

Kickstart provides a way for users to automate a Red Hat Enterprise Linux installation. Using kickstart, a system administrator can create a single file containing the answers to all the questions that would normally be asked during a typical installation. Once a kickstart file has been generated it can either be included with boot media or made available on the network for easy and consistent configuration of new systems.

This app walks you through the process of creating optimal kickstart files for Red Hat Enterprise Linux 5, 6, or 7 that are tailored to meet your specific deployment goals. The app gives you options to create very advanced kickstart files with custom filesystem layouts, package selections, network configurations, and installation scripts. Alternatively, for less advanced configurations, the app will preselect intelligent defaults.

Once you are satisfied with your configuration simply click the Download button and bundle the kickstart file with boot media or deploy it on your network for easy and consistent configuration of new systems.

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.

Get notified when this content is updated

Follow

11 Comments

Subscriber exclusive content

An active Red Hat subscription is required to participate.

Log In

There was a issue with the app this morning (EST). It is now fixed. The app can be accessed here, https://access.redhat.com/labs/kickstartconfig/ Please give it a try and report any additional issues.

The link is at the following location: https://access.redhat.com/labsinfo/kickstartconfig . I just tested the link a moment ago, but your mileage may vary.

how to get access to this lab ?

There was a issue with the app this morning (EST). It is now fixed. The app can be accessed here, https://access.redhat.com/labs/kickstartconfig/ Please give it a try and report any additional issues.

the web page in email information about the availability of tool says "not found" : https://access.redhat.com/labs/kickstartconfig/

There was a issue with the app this morning (EST). It is now fixed. The app can be accessed here, https://access.redhat.com/labs/kickstartconfig/ Please give it a try and report any additional issues.

I'm seeing page not found:

Not Found

The page you are looking for is not here. It might have been moved, removed, or had its name and address changed. It might otherwise be temporarily unavailable for technical reasons.

The good news is that you can probably find what you are looking for by searching the site.

There was a issue with the app this morning (EST). It is now fixed. The app can be accessed here, https://access.redhat.com/labs/kickstartconfig/ Please give it a try and report any additional issues.

Works for me!

Yep, me too, but not from Firefox! It's fine in Chrome. I think there have been several sites I've seen not working from FF since recent updates.

Well Chrome is working fine and it's a cool tool

https://access.redhat.com/labs/kickstartconfig/

Working fine in Firefox for me.

There's no btrfs option in the partitioning section for RHEL7 :(

BTRFS is currently included with RHEL7 as a tech preview. If/when it is officially supported in RHEL7 we will consider adding it to this app.

Ah, that explains it. Thanks Chris!

There was an issue with the app this morning (EST). It should be working in Firefox now. Please give it another try. If it still doesn't work please let me know which version of Firefox you are using. Thanks!

yep, works now from firefox.

To everyone wondering where the tool is located, click the gear icon at the top right corner of the article, select the little "bubbling lab beaker-thing" icon and it will take you to the Kickstart generator. Enjoy!

Under RHEL 6, the manual partitioning doesn't work correctly. Multiple problems to include, can't specify a mount point other than what is on the list, no option to create a LVM partition, selecting file system type of swap and then realizing you made a mistake, you change it to ext4, but can't do anything else. Click OK and it shows swap and not ext4. So, still some work to do.

Thanks for the feedback! I will fix the bugs ASAP. We are considering LVM for a future release.

All the issues (except LVM partition creation) you reported are now fixed. Please give it another try and let us know how it works. Thanks!

I tested the LVM, it works. I posted the sample kickstart containing LVM as well.

LVM support is now available in the app.

Good app!! would be useful this app can also configure lvm partitions.

We are considering LVM for a future release. Thanks for the feedback!

Nice, thanks, this is exactly what I was going to address.

Same, without LVM included its a great idea but is of little use to me.
Obviously the rest can be configured and we can then go back and manually create the partitioning with LVM - but that kind of defeats the purpose of having a configuration tool.

LVM support is now available in the app.

LVM support is now available in the app.

RHEL7 should have option for LVM and additional single packages to be installed. As well as maybe a hostname.

Nice clean app for a 'starting' kickstart though.

Thanks for the feedback! We are considering LVM for a future release. Hostname will also be considered. Could you please further explain what you mean by "additional single packages to be installed". Currently you can select package groups and select/deselect optional packages in the group.

LVM support is now available in the app.

The partitioning bit needs to be fixed. If you edit a partition, then you can't add any further partitions. Also, kind of useless for me without LVM.

Thanks for the feedback! I am working on a fix for the partition bug. LVM is being considered for a future release.

The bugs have been fixed and LVM support is now available in the app.

Dear Red Hat folks, thank you much for making this Kickstart configuration tool in the access labs of access.redhat.com. It would be great if while using this, one could enter the size of the drive they're using, and then also configure LVM systems instead of simple non-lvm partitions. Additionally, if one could at least assign labels if no LVM was available in this - it would be nice.

When I posted this, it didn't allow me to see the context of the other messages preceding. I now see that LVM for this access lab will be considered for a future edition.

Thanks much

ADDED
I put in a basic set of kickstart directives and ended up with this:
(However, I added the note in the block below with the Red Hat solution on partitioning)

lang en_US
keyboard us
timezone America/New_York --isUtc
rootpw $1$WCQgf2dQ$n3GrnPUheO52h1QxVSuRy0 --iscrypted
#platform x86, AMD64, or Intel EM64T
text
cdrom
###
#### NOTE: SEE THIS ARTICLE REGARDING IMPORTANT PARTITIONING INFO IN THE NEXT LINE
#### https://access.redhat.com/solutions/19584
###  Using bare device names without labels or LVM is usually a bad idea, see above article
##
bootloader --md5pass=$1$MBfLKouI$AJqqq.CCI3oz7zmFBvKzG. --location=mbr --append=rhgb,quiet,crashkernel=auto
zerombr
clearpart --all --initlabel
part --fstype=xfs /boot --size=500 --asprimary
part --fstype=swap --size
part --fstype=xfs /tmp --size=4096 
part --fstype=xfs / --size=25000
part --fstype=xfs /var --size=8192
part --fstype=xfs /usr --size=12388
auth --passalgo=sha512 --useshadow
selinux --enforcing
firewall --enabled --ssh
firstboot --disable
%post --interpreter=/bin/bash
echo "your post script goes after this line"
%end

Thanks for the feedback!

LVM support is now available in the app.

Need to sort the Time Zone field, otherwise its hard to locate for people who aren't in New York.

Thanks for the feedback, the timezone field is now sorted.

I can't access it... so is it being looked at or fixed???

The app is available here, https://access.redhat.com/labs/kickstartconfig/ . Do you see an error? Otherwise, could you please describe what behavior you are experiencing? Also what browser and OS version are you using?

Harold,
I just accessed it yet again just now at https://access.redhat.com/labs/kickstartconfig/, and the link works fine.

Hit refresh, I had to do that once for one of the two browsers I tested this morning.

My sample today with lvm added:

lang en_US
keyboard us
timezone America/New_York --isUtc
rootpw $1$4Id71t44$NcJMzq4kFN8Fx4yG.RmUr/ --iscrypted
#platform x86, AMD64, or Intel EM64T
text
cdrom
bootloader --md5pass=$1$4Zwyncv3$9Drh8KBuaUySCKBRNUC2o0 --location=mbr --append=rhgb,quiet,crashkernel=auto
zerombr
clearpart --all --initlabel
volgroup disk0 --pesize=4096 pv.0 
part pv.0 --fstype=lvmpv --ondisk=sda --size=204800
logvol /boot --vgname=disk0 --name=boot --fstype=xfs --size=500
logvol / --vgname=disk0 --name=slash --fstype=xfs --size=32000
logvol /var/log/audit --vgname=disk0 --name=varlogaudit --fstype=xfs --size=4096
logvol /tmp --vgname=disk0 --name=tmp --fstype=xfs --size=1
logvol /var --vgname=disk0 --name=var --fstype=xfs --size=16384
logvol /var/log --vgname=disk0 --name=varlog --fstype=xfs --size=1
auth --passalgo=sha512 --useshadow
selinux --enforcing
firewall --enabled --ssh
firstboot --disable
%pre --interpreter=/bin/bash
echo "this is a pre script, enter your directives in this location"
%end
%post --interpreter=/bin/bash
echo "this is a post script, enter your post directives here."
%end

delete duplicate comment

even tho passwords are the same, it still complains it not.

Hmm, it could be a special character in your password that is causing the comparator to complain. Are you using a special character in your password?

The kickstart configuration tool would be much more useful if you could read in an existing kickstart script and use the configurator to modify it.

Thanks for the feedback! This feature is being considered for a future release.

that'd be really great. i'd love to be able to do a test install, modify the package list, then load it into the configurator to have it fix (and syntax-check) the partitioning and other parameters. (or at least syntax-check a hand-modified kickstart script without having to do a test install with it and figure out what went wrong)
system-config-kickstart used to be usable for this method but it seems to have fallen into disrepair.

I really appreciate the logical volume support added to the ks config tool, but there is a small bug. Here is a section of the kickstart file it generated:
zerombr
clearpart --all --initlabel
volgroup rhel --pesize=4096 pv.0
part pv.0 --fstype=lvmpv --ondisk=sda --size=11264
part /boot --name=boot --fstype=xfs --size=512 --asprimary
part swap --name=swap --fstype=swap --size=1024 --asprimary
logvol / --vgname=rhel --name=root --fstype=xfs --size=6144
logvol /var --vgname=rhel --name=var --fstype=xfs --size=1024
logvol /tmp --vgname=rhel --name=tmp --fstype=xfs --size=1024
logvol /home --vgname=rhel --name=home --fstype=ext4 --size=512

where I have two physical partitions - swap and /boot. The tool added the --name option to those partitions. This option is illegal on physical partitions and causes the ks to fail. When I edited the file and removed the --name on these two lines, everything works great:

part /boot --fstype=xfs --size=512 --asprimary
part swap --fstype=swap --size=1024 --asprimary

Thank you for reporting this. The bug is fixed in the latest version (0.9.15).

i just checked, and it is fixed. That was awesome turnaround. thanks.

there's one more small bug in the kickstart tool that I've found. If you customize the kernel options for the bootloader command, the tool creates the bootloader directive with commas between the options rather than spaces. The kernel seems to ignore the options in this case. (i'd show an example, but this submit box is tiny)

EDIT: If I change the kernel options to remove the crashkernel=auto option, the bootloader directive is generated as
bootloader --location=mbr --boot-drive=sda --append=rhgb,quiet
when it should be
bootloader --location=mbr --boot-drive=sda --append="rhgb quiet"

This may just be because the kernel option line in the tool mistakenly puts commas between the options and the user simply follows the same format.

Greg - thanks for all the great feedback! This issue is fixed in version 0.9.17.

again, i appreciate the fast turnaround. I'm glad redhat is putting effort into supporting kickstart. I use it (and teach it) a lot!

is this tool working... I try download and nothing happen.
Just wasted my time configuring.
Ravi

Yes it is working. What browser/OS version did you try on? Do you see any error messages in the browser?

I used this yesterday, everything worked except the partition line for /boot fell below the partition for the LVM physical volume, and I just had to swap the order. Besides that, it was quite useful.

As soon as I enter a character in "Root Password:" box a heading comes up that states, "Root Password doesn't match". This never goes away so I cannot download the kickstart!

I am not seeing this behavior in my browsers. Could you please try clearing your cache and trying again? It would also be useful to know which browser/version you are using and which kickstart settings you changed.

I have the same problem. Both Chrome and Firefox behave this way. It does show a tick/check mark once both fields are correctly populated, but the error at the top does not go away and the ks cannot be downloaded.

The configurator tool generate md5pass (boot password) which is outdated for RHEL7 .

Thanks for the bug report. As of v0.9.25, Kickstart Generator uses grub.pbkdf2 for the RHEL7 bootloader password.

for me the manual IP address settings did not work, the generated ks.cfg just had no definition for the 'network' line

Could you please provide more info? Which browser version and OS version are you using? Also, after entering the network information, did you click "Add" in the dialog? A table should appear with the network info after clicking "Add". Thanks!

Checking "Use UEFI" in the bootloader section results in:

bootloader --location=partition ...

but when I installed using the generated kickstart, the installer says, "GRUB2 does not support installing on partitions".

Also, for UEFI systems, perhaps an additional step would be to add this in the partitioning section:

part /boot/efi --fstype="efi" ...

Hi team,

I'm planning to create USB Boot drive via image RHEL 6.7 , how can I use the generated file from Kick Start from this tool to automate the installation?

-Ashraf EMAM,

Very usefull!
Thanks a lot.

Error creating kickstart config file... [object Object]

I have recently used the Kickstart generator successfully to create a RHEL 6 kickstart file with several partitions configured. However, today I seem to be unable to add more than one partition (mount points not LVM group). I am trying to specify for all partitions including swap to be created on disk sda but when I specify this in the second partition I get a message in the Kickstart generator stating that the disk is already assigned. I have tried this for RHEL 6 and 7, Has something changed?

<script>alert(1)</script>

[hello|javascript:alert(1)]

Definition list Is something people use sometimes. Markdown in HTML Does *not* work **very** well. Use HTML tags.
Definition list Is something people use sometimes. Markdown in HTML Does *not* work **very** well. Use HTML tags.

https://access.redhat.com/labs/kickstartconfig/ gives 404...

Download button doesn't work.

Mary, We are unable to reproduce this error. Can you provide your web browser version and whether or not you're using browser plugins like NoScript/Adblock plus? This information will help us triage. Thanks, Keith

I was using IE 10. Switched to Firefox and now I can download. Thanks!

Glad to hear that it is working. However, you should know that IE 10 is not a browser that we actively test against[1] .

[1] https://access.redhat.com/help/browsers

deleted.

It would nice if you had link on this page to the kickstart options documentation.

In what format is it downloaded once created? I am unable to open the file

Is there any way to tell kickstart to use and configure the active NIC interface (since eth0 does not work in 7.2 anymore):

From my kickstart.cfg: " network --device=eth0 --bootproto=static --ip=x.y.145.36 --netmask=255.255.255.0 --gateway=x.y.145.254 --nameserver=x.y.30.91 " With this new naming convention every machine will likely have a different name for the active NIC. I have already seen "enp5s0" and "ens32"... Need some predictability and uniformity... Please help if you have any leads.

This is a great tool. App usability suggestion: It may be useful to move the Download button to the end of the steps. Or, at least move it to some other location on the page so it doesn't seem like the user clicks it after selecting the RHEL OS version. As it is, it looks like (to me) that the user is expected to select the RHEL version and then click Download to start some process. The Download button may be a distraction here. Are you expecting the user to at least browse through all the possible selections before downloading? If so, does it need to be showing up at the top of the page like that?

We are using the app to create a kickstart for RHEL VMs going into Azure. For these VMs to work in Azure, we have to remove the grub parameters "rhgb quiet crashkernel=auto" and add the parameters "earlyprintk=ttyS0 console=ttyS0 rootdelay=300". On the Boot Loader pane in the app, if I remove the "rhgb quiet crashkernel=auto" parameters, these are not removed and persist when the RHEL machine is installed. The "earlyprintk=ttyS0 console=ttyS0 rootdelay=300" parameters are correctly appended. We have worked around this by removing the unwanted parameters in the post-installation script. It would be nice if these could be removed with the kickstart generator.

Pages