Skip to content

Instantly share code, notes, and snippets.

View ArKam's full-sized avatar
🪐
It's a small world after all!

arkam ArKam

🪐
It's a small world after all!
View GitHub Profile
@ArKam
ArKam / boot.ipxe
Last active June 10, 2023 21:18 — forked from robinsmidsrod/_INSTALL.md
Bootstrapping full iPXE native menu with customizable default option with timeout (also includes working Ubuntu 12.04 preseed install)
#!ipxe
# Global variables used by all other iPXE scripts
chain --autofree boot.ipxe.cfg ||
# Boot <boot-url>/<boot-dir>/hostname-<hostname>.ipxe
# if hostname DHCP variable is set and script is present
isset ${hostname} && chain --replace --autofree ${boot-dir}hostname-${hostname}.ipxe ||
# Boot <boot-url>/<boot-dir>/uuid-<UUID>.ipxe