|
@@ -50,6 +50,8 @@ echo Attempting chainload of ${boot_domain}...
|
|
|
goto menu || goto failsafe
|
|
|
|
|
|
:tftpmenu
|
|
|
+isset ${hostname} && chain --autofree tftp://${next-server}/HOSTNAME-${hostname}.ipxe || echo Custom boot by Hostname not found trying MAC...
|
|
|
+chain --autofree tftp://${next-server}/MAC-${mac:hexraw}.ipxe || echo Custom boot by MAC not found booting default...
|
|
|
chain --autofree tftp://${next-server}/menu.ipxe || echo ${TFTP_ERR} && goto menu
|
|
|
|
|
|
:menu
|