mirror of
https://github.com/ipxe/ipxe
synced 2026-05-04 03:03:43 +03:00
5921e6b453
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>
Most of the content that was previously in this directory has been
moved to a separate git repository:
http://git.etherboot.org/?p=contrib.git;a=summary
or the Etherboot Project wiki:
http://etherboot.org/