mirror of
https://github.com/ipxe/ipxe
synced 2026-05-04 03:03:43 +03:00
5921e6b4532adb62395a1d2a581c78564c830607
Following the examples of aws-int13con and gce-int13con, add a utility that can be used to read the INT13 console log from a used iPXE boot disk in Alibaba Cloud Elastic Compute Service (ECS). We cannot reliably access the used iPXE boot disk (or a snapshot created from it) since OSS buckets in mainland China cannot be accessed due to Chinese laws. We therefore create a snapshot and attach this snapshot as a data disk to a temporary Linux instance, as we do in Google Compute Engine. Unlike in Google Compute Engine, we cannot reliably capture serial port output from the temporary Linux instance. Issuing the relevant GetInstanceConsoleOutput API call will cause the output to be captured once and (unpredictably) cached. Without knowing in advance precisely when the output is complete, we cannot use this approach to capture the relevant part of the output. We therefore use an Alibaba Cloud Linux image that includes the Cloud Assistant Agent. This allows us to use the RunCommand API call to run a command on the instance and capture the output, all done via the control plane so that we are not dependent on having direct network access to the temporary instance. Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE network bootloader
iPXE is the leading open source network boot firmware. It provides a full PXE implementation enhanced with additional features such as:
-
boot from a web server via HTTP or HTTPS,
-
boot from an iSCSI, FCoE, or AoE SAN,
-
control the boot process with a script,
You can use iPXE to replace the existing PXE ROM on your network card, or you can chainload into iPXE to obtain the features of iPXE without the hassle of reflashing.
iPXE is free, open-source software licensed under the GNU GPL (with some portions under GPL-compatible licences).
You can download the rolling release binaries (built from the latest commit), or use the most recent stable release.
For full documentation, visit the iPXE website.
Languages
C
96.9%
Assembly
1.5%
Perl
0.6%
Python
0.4%
Makefile
0.4%