How to kickstart CentOS 7 without DHCP

By   01-18-2015 · 1 minute read · 158 words


Red Hat has altered the “ks” parameter for kickstart installations in RHEL7. If you are in an environment where you don’t have DHCP servers on certain subnets and can’t PXE, you’ll need to pass parameters in manually through the Grub boot menu. It took me a bit of time to figure out the new parameters so thought I would share.

  1. When you boot off the RHEL7/Centos 7 boot media hit escape during the boot screen. It should put you into a “boot:” prompt.

If you’ve worked with RHEL 6 you’ll know the old kickstart paraeter was just “ks=”, but now it’s “inst.ks=”.

Append the following to the end of the boot text:

inst.ks=http://192.168.1.20/yourkickstart.ks ip=192.168.1.10 netmask=255.255.255.0 gateway=192.168.1.1

Replace the URL of the kickstart server with your own kickstart server and alter the IP addresses to your network and you should be off and running.

Now only if Red Hat will stop making small subtle changing things in each release.

red-hat   kickstart  

comments powered by Disqus