-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Usage | ||
|
||
This is more a dump of notes than instructions. | ||
|
||
``` | ||
make bin-x86_64-efi/ipxe.efi bin/undionly.kpxe -j$(nproc) EMBED=scriptlet.ipxe | ||
``` | ||
|
||
Tateru iPXE uses DHCP option code 129 instead of requiring looking at the | ||
agent and determining the filename accordingly. This makes it easy to use | ||
on more conventional DHCP servers. | ||
|
||
Example ISC DHCP Config: | ||
|
||
``` | ||
option domain-name "example.org"; | ||
option domain-name-servers 8.8.8.8; | ||
default-lease-time 600; | ||
max-lease-time 7200; | ||
authoritative; | ||
option client-arch code 93 = unsigned integer 16; | ||
option tateru-ipxe-cfg code 129 = string; | ||
subnet 172.16.31.0 netmask 255.255.255.0 { | ||
range 172.16.31.100 172.16.31.150; | ||
option routers 172.16.31.1; | ||
option tateru-ipxe-cfg "http://172.16.31.90/tateru/ipxe.cfg"; | ||
if option client-arch != 00:00 { | ||
filename "ipxe.efi"; | ||
} else { | ||
filename "undionly.kpxe"; | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#define DOWNLOAD_PROTO_HTTPS | ||
#define NET_PROTO_IPV6 | ||
#define CONSOLE_CMD | ||
#define PING_CMD | ||
#define REBOOT_CMD | ||
#define VLAN_CMD | ||
#define VMWARE_SETTINGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!ipxe | ||
set use-cached 1 | ||
dhcp | ||
chain ${129:string} |