david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[cloud] Show CPU vendor and model in example cloud boot scripts

Some problems arise only when running on a specific CPU type (e.g.
non-functional timer interrupts as observed in Azure AMD instances).
Include the CPU vendor and model within the sample cloud boot scripts,
to assist in debugging such problems.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2017-01-24 13:47:03 +00:00
parent 16aed6e5ce
commit 90fc2f273a
3 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!ipxe
echo Amazon EC2 - iPXE boot via user-data
echo CPU: ${cpuvendor} ${cpumodel}
ifstat ||
dhcp ||
route ||

View File

@ -1,6 +1,7 @@
#!ipxe
echo Google Compute Engine - iPXE boot via metadata
echo CPU: ${cpuvendor} ${cpumodel}
ifstat ||
dhcp ||
route ||

View File

@ -0,0 +1,4 @@
/* It can often be useful to know the CPU on which a cloud instance is
* running (e.g. to isolate problems with Azure AMD instances).
*/
#define CPUID_SETTINGS