You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install/pxe-boot-install.md
+93Lines changed: 93 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,6 +259,82 @@ group {
259
259
260
260
The config file declares a subnet and two groups. The first group is for hosts to boot using `CREATE` mode and the other one is for`JOIN` mode. By default, the iPXE path is chosen, but if it sees a PXE client it offers the iPXE image according to the client architecture. Please prepare those images and a TFTP server first.
261
261
262
+
The Internet Systems Consortium (ISC) announced the final [end-of-life (EOL) forISC DHCP](https://www.isc.org/blogs/isc-dhcp-eol/)in 2022. ISC DHCP users are encouraged to migrate to the newer, feature-rich [Kea DHCP](https://www.isc.org/kea/), which the ISC designed for more modern network environments. If you are already using the Kea DHCPv4 server, check the following configuration example. For more information, see [Kea DHCPv4 Configuration](https://kea.readthedocs.io/en/kea-1.6.2/arm/dhcp4-srv.html#dhcpv4-server-configuration).
263
+
```json
264
+
"client-classes": [
265
+
{
266
+
"name": "iPXE UEFI/CREATE",
267
+
"test": "option[user-class].exists and substring(option[user-class].hex,0,4) == 'iPXE' and option[client-system].hex == 0x0007",
// assign ip address to the host forbootingin CREATE mode
324
+
{
325
+
"hw-address": "52:54:00:6b:13:e2",
326
+
"ip-address": "10.100.0.101"
327
+
},
328
+
// assign ip address to the host forbootingin JOIN mode
329
+
{
330
+
"hw-address": "52:54:00:69:d5:92",
331
+
"ip-address": "10.100.0.201"
332
+
}
333
+
]
334
+
}
335
+
]
336
+
```
337
+
262
338
## Harvester Configuration
263
339
264
340
For more information about Harvester configuration, please refer to the [Harvester configuration](./harvester-configuration.md) page.
@@ -319,6 +395,23 @@ group {
319
395
320
396
The `elsif substring` statement is new, and it offers `http://10.100.0.10/harvester/ipxe.efi` when it sees a UEFI HTTP boot DHCP request. After the client fetches the iPXE program and runs it, the iPXE program will send a DHCP request again and load the iPXE script from the URL `http://10.100.0.10/harvester/ipxe-create-efi`.
321
397
398
+
If you want to enable UEFI HTTP boot on the Kea DHCPv4 server, you must add a new `client-class` at the end of the `client-classes`.
It's mandatory to specify the initrd image for UEFI boot in the kernel parameters. The following is an updated version of iPXE script for `CREATE` mode.
0 commit comments