[root@nginx xc]# cp /rhel7/isolinux/* /var/lib/tftpboot/
[root@nginx xc]# cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/ -拷贝资源到该数据目录
[root@nginx xc]# cd /var/lib/tftpboot/
[root@nginx tftpboot]# mkdir pxelinux.cfg
[root@nginx tftpboot]# cp isolinux.cfg pxelinux.cfg/default -拷贝安装显示界面
[root@nginx ~]# vim /etc/dhcp/dhcpd.conf
添加两行
next-server 172.25.254.100;
filename "pxelinux.0";
[root@nginx ~]# systemctl restart dhcpd