]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[cloud] Update disk log console tool descriptions master
authorMichael Brown <mcb30@ipxe.org>
Thu, 9 Apr 2026 09:47:55 +0000 (10:47 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 9 Apr 2026 09:47:55 +0000 (10:47 +0100)
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>
contrib/cloud/ali-int13con
contrib/cloud/aws-int13con
contrib/cloud/gce-int13con

index 7d1fe6b333350fe681498e1d9cd0c76e27e0e457..7ca949392e5d722ae7f442033336ce48bea6de14 100755 (executable)
@@ -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',
index b79b40657c9d7878a7967fd9f6f9ba860ba4ecc3..49f861afbeeb2531760f39fc95ed31ac295880cd 100755 (executable)
@@ -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)
index 3b909a44a54810d9f7a81b73236aeb3c6971ffc3..b29352d0d3cf06506b44848d854ff02e57fe1d1f 100755 (executable)
@@ -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,