blob: ebd30fcf96a95f7267e0f38c852c171dc2a1d5f7 [file] [log] [blame]
Zack Williams9f896c42020-10-05 21:59:11 -07001#!ipxe
2# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
3# SPDX-License-Identifier: Apache-2.0
4
Zack Williams2e469712022-01-26 18:11:09 -07005# autoconfigure interface, or optionaly drop to shell
6ifconf || goto optional_shell
Zack Williams9f896c42020-10-05 21:59:11 -07007
Zack Williams2e469712022-01-26 18:11:09 -07008# display network settings before chainloading
9ifstat
10route
11
12# chainload netboot.ipxe, or continue if not available
13chain http://webserver/boot.ipxe || goto optional_shell
14
15# if unable to chainload, wait 10 seconds for command entry, or exit iPXE and continue boot
16:optional_shell
17prompt --timeout 10000 Press any key for iPXE command line... && shell || exit