#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 # Keyboard layouts keyboard --vckeymap=cn --xlayouts='cn' # System language lang zh_CN.UTF-8 # Network information network --bootproto=static --device=ens192 --gateway=192.168.1.1 --ip=192.168.1.251 --nameserver=192.168.1.1 --netmask=255.255.255.0 --ipv6=auto --activate network --hostname=localhost.localdomain # Root password rootpw --iscrypted $6$oSQrtw99lq31j30S$RoT9NSvqkpVstI/UDRiN8ya6N4wiWPSygVn5TP/BQom.s.q/6RTWGTUehcUSe5qn7cMqZuim7kafCTY7dODo60 # System services services --enabled="chronyd" # System timezone timezone Asia/Shanghai --isUtc # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda autopart --type=lvm # Partition clearing information clearpart --none --initlabel %packages @^minimal @core chrony 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