Update the descriptive text for the disk log console tools to remove
references to INT13, since these now work for both BIOS and UEFI disk
log consoles.
Leave the script names as {aws,gce,ali}-int13con, to avoid breaking
any existing tooling that might use these names.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
rsp = clients.ecs.run_command(req)
# Parse command-line arguments
rsp = clients.ecs.run_command(req)
# Parse command-line arguments
-parser = argparse.ArgumentParser(description="Import Google Cloud image")
+parser = argparse.ArgumentParser(
+ description="Get Alibaba Cloud disk console output"
+)
parser.add_argument('--region', '-r', required=True,
help="AliCloud region")
parser.add_argument('--family', '-f',
parser.add_argument('--region', '-r', required=True,
help="AliCloud region")
parser.add_argument('--family', '-f',
-def get_int13con_output(region, instance_id):
- """Get INT13 console output"""
+def get_disklog_output(region, instance_id):
+ """Get disk log console output"""
block = get_block0_content(region, instance_id)
logpart = block[IPXELOG_OFFSET:]
magic = logpart[:len(IPXELOG_MAGIC)]
block = get_block0_content(region, instance_id)
logpart = block[IPXELOG_OFFSET:]
magic = logpart[:len(IPXELOG_MAGIC)]
# Parse command-line arguments
# Parse command-line arguments
-parser = argparse.ArgumentParser(description="Get AWS INT13 console output")
+parser = argparse.ArgumentParser(description="Get AWS EC2 disk console output")
parser.add_argument('--region', '-r', help="AWS region")
parser.add_argument('id', help="Instance ID")
args = parser.parse_args()
parser.add_argument('--region', '-r', help="AWS region")
parser.add_argument('id', help="Instance ID")
args = parser.parse_args()
-# Get console output from INT13CON partition
-output = get_int13con_output(args.region, args.id)
+# Get console output from disk log partition
+output = get_disklog_output(args.region, args.id)
# Print console output
print(output)
# Print console output
print(output)
# Parse command-line arguments
#
# Parse command-line arguments
#
-parser = argparse.ArgumentParser(description="Import Google Cloud image")
+parser = argparse.ArgumentParser(
+ description="Get Google Cloud disk console output"
+)
parser.add_argument('--project', '-j', default="ipxe-images",
help="Google Cloud project")
parser.add_argument('--zone', '-z', required=True,
parser.add_argument('--project', '-j', default="ipxe-images",
help="Google Cloud project")
parser.add_argument('--zone', '-z', required=True,