Sample ks.cfg for pxe boot

#version=RHEL7
 # System authorization information
 auth --enableshadow --passalgo=sha512
 # Use network installation
 url --url="http://192.168.197.149/c7/"
 # Run the Setup Agent on first boot
 firstboot --enable
 ignoredisk --only-use=sda
 # Keyboard layouts
 keyboard --vckeymap=us --xlayouts='us'
 # System language
 lang en_US.UTF-8
 # Network information
 network --bootproto=dhcp --device=eno16777736 --ipv6=auto --activate
 network --hostname=localhost.localdomain

selinux --disabled
 reboot
 firewall --disabled
 # Root password --- root123
 rootpw --iscrypted $6$pnvlhzXf$j1JGRnm733qkmcZOVqWbsT2PhfaLDjjt96J5xkMVVjVNQpcNjgdWn/9/sClIRTfXLd7XC9GNKdhFGR1NLMsgQ/
 # System services
 services --enabled="chronyd"
 # System timezone
 timezone Europe/Bucharest --isUtc
 # System bootloader configuration
 bootloader --location=mbr --boot-drive=sda
 # Partition clearing information
 clearpart --none --initlabel
 # Disk partitioning information
 part pv.20 --fstype="lvmpv" --ondisk=sda --size=19979
 part /boot --fstype="xfs" --ondisk=sda --size=500
 volgroup centos --pesize=4096 pv.20
 logvol / --fstype="xfs" --grow --maxsize=51200 --size=1024 --name=root --vgname=centos
 logvol swap --fstype="swap" --size=2048 --name=swap01 --vgname=centos
 %packages
 @core
 chrony
 %end