1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
| [root@localhost html]
auth --enableshadow --passalgo=sha512
url --url http://172.16.1.18/Centos7
text
firstboot --enable ignoredisk --only-use=sda
keyboard --vckeymap=cn --xlayouts='cn'
lang zh_CN.UTF-8
network --bootproto=dhcp --device=eno1 --onboot=off --ipv6=auto --no-activate network --bootproto=dhcp --device=eno2 --onboot=off --ipv6=auto network --bootproto=dhcp --device=enp6s0f0 --onboot=off --ipv6=auto network --bootproto=dhcp --device=enp6s0f1 --onboot=off --ipv6=auto network --hostname=localhost.localdomain
rootpw --iscrypted $6$IKZAiSjkoRXBNe5W$KXOQ0jbavV4LHxDJ20OQQ.2Sx1ywBkfJOhVAWwJ05lz1BnKrpSppFUGJI2mU/a/qMKXfFufSqtmxYEPniGqx81
services --enabled="chronyd"
timezone Asia/Shanghai --isUtc
bootloader --location=mbr --boot-drive=sda autopart --type=lvm
clearpart --all --initlabel --drives=sda
%packages @^minimal @core chrony
%end
%addon com_redhat_kdump --disable --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
reboot
|