#platform=x86, AMD64, 或 Intel EM64T #version=DEVEL # Install OS instead of upgrade install # X Window System configuration information xconfig --startxonboot # Keyboard layouts # old format: keyboard us # new format: keyboard --vckeymap=cn --xlayouts='cn' # Root password rootpw --iscrypted $1$Y.lO6g1z$S5qz8CU0TSDTocfAVez8h. # System language lang zh_CN # System authorization information auth --useshadow --passalgo=sha512 # Use graphical install graphical # Run the Setup Agent on first boot firstboot --disabled # SELinux configuration selinux --disabled
# System services services --enabled="chronyd" ignoredisk --only-use=sda # Firewall configuration firewall --disabled # Reboot after installation reboot # System timezone timezone Asia/Shanghai # Use network installation url --url="http://192.168.1.1/centos" # System bootloader configuration bootloader --append=" crashkernel=auto" --location=none --boot-drive=sda autopart --type=lvm # Partition clearing information clearpart --none --initlabel
4 评论