本文最后更新于 348 天前,其中的信息可能已经有所发展或是发生改变。

pxe环境

dhcp+tftp+http

pxe-server:isoft-serveros-v4.2(3.10.0-957.el7.isoft.x86_64)

引导的iso:isoft-serveros-aarch64-oe1-v5.1(4.19.90-2003.4.0.0036.oe1.aarch64)

物理服务器:浪潮 Inspur

dhcpd.conf配置

[root@localhost isoft-5.1-arm]# vim /etc/dhcp/dhcpd.conf

default-lease-time 43200;
max-lease-time 345600;
option space PXE;
option arch code 93 = unsigned integer 16;

option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option time-offset -18000;

ddns-update-style none;
allow client-updates;
allow booting;
allow bootp;
                  next-server 192.168.1.1;
                if option arch = 00:07 or arch = 00:09 {