#version=DEVEL # System authorization information auth --enableshadow --passalgo=sha512 # Use CDROM installation media cdrom # Use graphical install graphical # 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=static --device=em1 --gateway=65.49.9.1 --ip=65.49.9.30 --nameserver=8.8.4.4 --netmask=255.255.255.0 --ipv6=auto --activate network --bootproto=dhcp --device=em2 --onboot=off --ipv6=auto network --hostname=localhost.localdomain # Root password rootpw 123 # System services services --disabled="chronyd" # System timezone timezone America/Los_Angeles --isUtc --nontp user --groups=wheel --name=ind --password 123 --gecos="IN-Depth" # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda # Partition clearing information clearpart --all --initlabel --drives=sda # Disk partitioning information part /boot --fstype="ext4" --size=1024 part /boot/efi --fstype="efi" --size=1024 --fsoptions="umask=0077,shortname=winnt" part pv.581 --fstype="lvmpv" --ondisk=sda --size=224208 volgroup centos --pesize=4096 pv.581 logvol swap --fstype="swap" --size=64000 --name=swap --vgname=centos logvol / --fstype="xfs" --size=150000 --name=root --vgname=centos %packages @^minimal @core kexec-tools %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