|
@@ -5,6 +5,7 @@ set boldoff ${esc:string}[22m
|
|
|
set fg_gre ${esc:string}[32m
|
|
|
set fg_cya ${esc:string}[36m
|
|
|
set fg_whi ${esc:string}[37m
|
|
|
+set TFTP_ERR Local TFTP failed... attempting remote HTTPS
|
|
|
set HTTPS_ERR HTTPS appears to have failed... attempting HTTP
|
|
|
set HTTP_ERR HTTP has failed, localbooting...
|
|
|
set boot_domain {{ boot_domain }}
|
|
@@ -46,6 +47,7 @@ echo Attempting chainload of ${boot_domain}...
|
|
|
goto menu || goto failsafe
|
|
|
|
|
|
:menu
|
|
|
+chain --autofree tftp://${next-server}/menu.ipxe || echo ${TFTP_ERR}
|
|
|
set conn_type https
|
|
|
chain --autofree https://${boot_domain}/menu.ipxe || echo ${HTTPS_ERR}
|
|
|
sleep 5
|