#version=DEVEL # System authorization information auth --enableshadow --passalgo=sha512 # Use HTTP directory as install tree url --url http://pxe.home.local/centos7-minimal-1908 # Use command-line cmdline # Run the Setup Agent on first boot firstboot --disable eula --agreed ignoredisk --only-use=sda # Keyboard layouts keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 reboot # Network information network --bootproto=dhcp --device=link --onboot=on --ipv6=auto network --hostname=centos.test.home.local # Root password rootpw --iscrypted $1$F38EHyKI$p.q1ftU2TVGUiUxmTVTKu. # System services services --enabled="chronyd" # System timezone timezone America/New_York --isUtc # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda autopart --type=lvm # Partition clearing information clearpart --none --initlabel #this tells our package installation where to look for packages (local server won't work with minimal) repo --name=a-base --baseurl=http://mirror.centos.org/centos/7/os/x86_64/ %packages @^minimal @core chrony kexec-tools git wget nano %end %addon com_redhat_kdump --enable --reserve-mb='auto' %end %anaconda pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty %end