Update to iPXE version to 1.21.1
- Build additional artifacts - ISO, UEFI, etc.
- Set default timeout on shell to fallthrough on failures
- Add ping command (enabling patch renamed to be more generic)
- Update build container to Debian 11
- Add VERSION file
Change-Id: I9476c1d6446f6943dcd084384ba2ae3d96f71128
diff --git a/chain.ipxe b/chain.ipxe
index 3d2b840..ebd30fc 100644
--- a/chain.ipxe
+++ b/chain.ipxe
@@ -2,8 +2,16 @@
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
-# autoconfigure self via DHCP
-dhcp
+# autoconfigure interface, or optionaly drop to shell
+ifconf || goto optional_shell
-# chainload netboot.ipxe, or drop to shell if it doesn't exist
-chain https://boot.tucson.onlab.us:2443/boot.ipxe || shell
+# display network settings before chainloading
+ifstat
+route
+
+# chainload netboot.ipxe, or continue if not available
+chain http://webserver/boot.ipxe || goto optional_shell
+
+# if unable to chainload, wait 10 seconds for command entry, or exit iPXE and continue boot
+:optional_shell
+prompt --timeout 10000 Press any key for iPXE command line... && shell || exit