部署 dhcp 和 tft 服务 安装 dnsmasq 1 2 3 4 # rhel yum install dnsmasq # archlinux pacman -S dnsmasq 修改配置 /etc/dnsmasq.conf 1 2 3 4 5 6 port=0 # 用不着 dns 功能,可以关闭 dhcp-range=10.0.86.2,10.0.86.9,255.255.255.0,1h #dhcp-boot=pxelinux.0 # bios 引导(未测试) dhcp-boot=grubx64.efi # efi 引导 enable-tftp tftp-root=/var/ftp 在其中一