aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-06-23 10:22:38 +0100
committerMichael Brown <mcb30@ipxe.org>2021-06-23 10:22:38 +0100
commit0688114ea63fee21c39d94cc8df9e2a5003ac283 (patch)
tree64ebb0867f003eb586cef909726e75c980fb59c6
parent9b6ad2d888c8550af1edfb324853f8fa2e596640 (diff)
downloadipxe-0688114ea63fee21c39d94cc8df9e2a5003ac283.zip
ipxe-0688114ea63fee21c39d94cc8df9e2a5003ac283.tar.gz
ipxe-0688114ea63fee21c39d94cc8df9e2a5003ac283.tar.bz2
[cloud] Show ifstat output after a failed boot attempt
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/config/cloud/aws.ipxe3
-rw-r--r--src/config/cloud/gce.ipxe3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/config/cloud/aws.ipxe b/src/config/cloud/aws.ipxe
index 2c96e38..66ad77d 100644
--- a/src/config/cloud/aws.ipxe
+++ b/src/config/cloud/aws.ipxe
@@ -5,4 +5,5 @@ echo CPU: ${cpuvendor} ${cpumodel}
ifstat ||
dhcp ||
route ||
-chain -ar http://169.254.169.254/latest/user-data
+chain -ar http://169.254.169.254/latest/user-data ||
+ifstat ||
diff --git a/src/config/cloud/gce.ipxe b/src/config/cloud/gce.ipxe
index 88e12b5..65e2e57 100644
--- a/src/config/cloud/gce.ipxe
+++ b/src/config/cloud/gce.ipxe
@@ -5,4 +5,5 @@ echo CPU: ${cpuvendor} ${cpumodel}
ifstat ||
dhcp ||
route ||
-chain -ar http://metadata.google.internal/computeMetadata/v1/instance/attributes/ipxeboot
+chain -ar http://metadata.google.internal/computeMetadata/v1/instance/attributes/ipxeboot ||
+ifstat ||