Now that I’m in a place where all ip addresses are handled by dhcp, I need to change how I do kickstart installs.

  1. Boot the new system and start the installation process. Be sure to note what the name of the network card is and the mac address of the network card. Example: enp7s0f0 and 00:25:ab:cd:ef:aa
  2. Manually register the mac address with our dhcp system.
  3. Create a kickstart file and put it on a website.
  4. Boot the system and enter this on the boot line: <pre>vmlinuz initrd=initrd.img inst.ks=http://www.example.com/ks/server.cfg ip=enp7s0f0:dhcp inst.noverifyssl

</pre>

If the install fails and you get a python error that near the end says something like:
“xfs filesystem is not valid as a default fs type”

It likely means the disk you’re booting from is not the same version as the os you’re downloading. Look in your kickstart file for the url line. It should look something like this:

url --noverifyssl --url=https://rhn01.example.com/pub/build/7

Put that link in your browser and look at the file media.repo. Mine looks like this:

[InstallMedia]
name=Red Hat Enterprise Linux 7.2
mediaid=1446216863.790260
metadata_expire=-1
gpgcheck=0
cost=500

This is telling me that it’s expecting the boot disk to be redhat 7.2. So make sure you’re using the correct install disk.