mirror of https://github.com/ipxe/ipxe.git
[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>pull/58/merge
parent
16aed6e5ce
commit
90fc2f273a
|
@ -1,6 +1,7 @@
|
|||
#!ipxe
|
||||
|
||||
echo Amazon EC2 - iPXE boot via user-data
|
||||
echo CPU: ${cpuvendor} ${cpumodel}
|
||||
ifstat ||
|
||||
dhcp ||
|
||||
route ||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!ipxe
|
||||
|
||||
echo Google Compute Engine - iPXE boot via metadata
|
||||
echo CPU: ${cpuvendor} ${cpumodel}
|
||||
ifstat ||
|
||||
dhcp ||
|
||||
route ||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue