-
-
Save yashodhank/ac32b871680b447dbdd4c1e117c71ace to your computer and use it in GitHub Desktop.
Custom ipxe menu for netboot.xyz
This file contains hidden or 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
#!ipxe | |
### | |
### codybunch.lab custom menu example | |
### | |
:custom | |
clear custom_choice | |
menu ESXi | |
item --gap Boot ESXi Installer | |
item esxi_70_kickstart ${space} 7.0 Automated Install | |
item esxi_70_install ${space} 7.0 Installer | |
item esxi_70_iso ${space} 7.0 ISO | |
choose custom_choice || goto custom_exit | |
echo ${cls} | |
goto ${custom_choice} | |
goto custom_exit | |
:esxi_70_iso | |
sanboot --no-describe --drive 0x80 http://boot.codybunch.lab/ISO/VMware/ESXi/v7.0.0U1d/ESXi-7.0U1d-17551050-standard-customized.iso || goto custom_exit | |
boot || goto custom_exit | |
:esxi_70_install | |
kernel http://boot.codybunch.lab/VMware/ESXi/v7.0.0U1d/mboot.c32 -c http://boot.codybunch.lab/VMware/ESXi/v7.0.0U1d/boot-70.cfg | |
boot || goto custom_exit | |
:esxi_70_kickstart | |
kernel http://boot.codybunch.lab/VMware/ESXi/v7.0.0U1d/mboot.c32 -c http://boot.codybunch.lab/VMware/ESXi/v7.0.0U1d/boot-70-ks.cfg | |
boot || goto custom_exit | |
:custom_exit | |
echo Boot failed. Returning to menu | |
clear menu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment