[root@localhost ~]# vi /var/lib/tftpboot/pxelinux.cfg/default//确保pexlinux.cfg目录已存在default auto
prompt 1
label auto
kernel vmlinuz
append initrd=initrd.img method=ftp://192.168.4.254/centos7
label linux text //文本模式安装
kernel vmlinuz
append text initrd=initrd.img method=ftp://192.168.4.254/centos7
label linux rescue //进入救援模式
kernel vmlinuz
append rescue initrd=initrd.img method=ftp://192.168.4.254/centos7
Verify PXE network installation
Adjust the BIOS settings to boot from the network
Obtain an IP address automatically and specify the CentOS 7 installation source
The rest of the process is the same as the local installation
Kickstart unattended technology
Create an answer file and define various installation settings in advance
Eliminate the need for interactive setup process, thus achieving fully automated installation
The source of the answer file
Edit the existing answer file in the CentOS 7 system- /root/anaconda-ks.cfg
Use the system-config-kickstart tool to create a new answer file -the system-config-kickstart package needs to be installed