mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[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:
@@ -1,6 +1,7 @@
|
|||||||
#!ipxe
|
#!ipxe
|
||||||
|
|
||||||
echo Amazon EC2 - iPXE boot via user-data
|
echo Amazon EC2 - iPXE boot via user-data
|
||||||
|
echo CPU: ${cpuvendor} ${cpumodel}
|
||||||
ifstat ||
|
ifstat ||
|
||||||
dhcp ||
|
dhcp ||
|
||||||
route ||
|
route ||
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#!ipxe
|
#!ipxe
|
||||||
|
|
||||||
echo Google Compute Engine - iPXE boot via metadata
|
echo Google Compute Engine - iPXE boot via metadata
|
||||||
|
echo CPU: ${cpuvendor} ${cpumodel}
|
||||||
ifstat ||
|
ifstat ||
|
||||||
dhcp ||
|
dhcp ||
|
||||||
route ||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user