From 1c32a17822031acada395cd16f9f4b5bfddbf863 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 9 Apr 2026 10:47:55 +0100 Subject: [PATCH] [cloud] Update disk log console tool descriptions 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 --- contrib/cloud/ali-int13con | 4 +++- contrib/cloud/aws-int13con | 10 +++++----- contrib/cloud/gce-int13con | 4 +++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/contrib/cloud/ali-int13con b/contrib/cloud/ali-int13con index 7d1fe6b33..7ca949392 100755 --- a/contrib/cloud/ali-int13con +++ b/contrib/cloud/ali-int13con @@ -226,7 +226,9 @@ def force_power_off(clients, instance): 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', diff --git a/contrib/cloud/aws-int13con b/contrib/cloud/aws-int13con index b79b40657..49f861afb 100755 --- a/contrib/cloud/aws-int13con +++ b/contrib/cloud/aws-int13con @@ -44,8 +44,8 @@ def get_block0_content(region, instance_id): return block -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)] @@ -56,13 +56,13 @@ def get_int13con_output(region, instance_id): # 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() -# 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) diff --git a/contrib/cloud/gce-int13con b/contrib/cloud/gce-int13con index 3b909a44a..b29352d0d 100755 --- a/contrib/cloud/gce-int13con +++ b/contrib/cloud/gce-int13con @@ -94,7 +94,9 @@ def get_log_output(instances, project, zone, name): # 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, -- 2.47.3