Automated Installations of Multiple RHEL/CentOS 7 Distributions using PXE Server and Kickstart Files

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

15 Responses

  1. Bob Bobson says:

    Hello, I did this and my install continues to pause at the for me to confirm that there will be no user created and to confirm the EULA. I’ve added the line eula –accepted to my KS file but it still stops and asks me to finish configuration. Is there a way to get it to just continue past that screen?


  2. greg perry says:

    On Centos7 I was unable to see my anaconda-ks.cfg file in the pub directory via browsing FTP. I could see it in the directory with ls however.

    Ended up having to add “setsebool allow_ftpd_full_access=1” which allowed it to be visible.

    Found that via google search here:

  3. rashid says:

    hi can you please tell me how i accept License auto during kickstart installation as it asked while installation.

    • Matei Cezar says:

      You wont need to worry about this if you use a kickstart file form a previous installation. The License terms are accepted automatically.
      Still, if you should now this parameter for manually created kickstart files:
      eula Accepted

  4. Rupesh rvk says:

    i have configured RHEL kickstart and from same server i want to installed cent os from same ftp server, is this possible

  5. Rupesh rvk says:

    can i installed cent os from RHEL 6 kick start server. i want to keep both images in /pub (RHEL and Cent os ) is this possible, or i need to configure
    individual kick-start server for different os

  6. Jesse Dale says:

    Ah, for those who are using iptables.. don’t forget to allow the broadcast request ! I enabled iptable logging in my rsyslog then I saw something like this every time I tried a PXE boot :

    Aug 14 19:12:05 tabasco kernel: iptables denied: IN=em1 OUT= MAC=ff:ff:ff:ff:ff:ff:a4:ba:db:e9:4d:55:08:00 SRC= DST= LEN=576 TOS=0x00 PREC=0x00 TTL=20 ID =1 PROTO=UDP SPT=68 DPT=67 LEN=556
    Aug 14 19:34:12 tabasco kernel: iptables denied: IN=em3 OUT= MAC=ff:ff:ff:ff:ff:ff:a4:ba:db:e9:4d:55:08:00 SRC= DST= LEN=576 TOS=0x00 PREC=0x00 TTL=20 ID=3 PROTO=UDP SPT=68 DPT=67 LEN=556

    So I had to add this to my /etc/sysconfig/iptables, and restarted iptables:

    -A INPUT -s -p udp –sport 68 -d –dport 67 -j ACCEPT
    -A OUTPUT -s -p udp –sport 67 -d –dport 68 -j ACCEPT

  7. Jesse Dale says:

    Does this need any setsebool commands to relax selinux with ftp or anonymous logins ??

  8. ketan says:

    How to Automated Installations RHEL with graphical desktop mode through PXE Kickstart.

  9. boethius says:

    You don’t actually need FAI to automate the install of Debian-based or Debian-derived distros. Ubuntu, Debian, Kali Linux, etc. all support pre-seed files. FAI is a great tool no question but not strictly necessary. You can get by with just preseeds, TFTP, and DHCP and a network bootstrap like iPXE or pxelinux. FAI is kind of a wrapper/abstraction layer between the complexities of deriving your own preseed semantics and intelligence. Hand-coding preseed files for diverse deployments and ongoing management/maintenance of those files is onerous but for occasional one-off type stuff it’s fine.

    When you want to try scale deployments enterprise tools like FAI, Cobbler (on the RHEL/CentOS side), Satellite, and several similar solutions all permit large-scale management of server deployments, be they virtual or physical.

  10. Ankur says:


    i have one query for unattanded installation different Linux Distrubution .

    this is only explained for Redhat based system like centos and fedora etc . can we install debian based system using kick start .??

Leave a Reply to Matei Cezar Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.