32121c073e
Apparently older iPXE implementations that may be burned into ROMs may not recognize the template MAC syntax, and thus be unable to boot. In the event of this happening, we should attempt to chainload the iPXE image. Additionally removed autofree as this may not be recognized by some versions of iPXE. Change-Id: I6e458d6a9383fb2d31d743b0124384a2036520df
15 lines
330 B
Plaintext
15 lines
330 B
Plaintext
#!ipxe
|
|
|
|
isset ${mac:hexhyp} && goto boot_system ||
|
|
chain ipxe.pxe
|
|
|
|
# load the MAC-specific file or fail if it's not found
|
|
:boot_system
|
|
chain pxelinux.cfg/${mac:hexhyp} || goto error_no_config
|
|
|
|
:error_no_config
|
|
echo PXE boot failed. No configuration found for MAC ${mac}
|
|
echo Press any key to reboot...
|
|
prompt --timeout 180
|
|
reboot
|