vram
| Type | Base64-encoded |
|---|---|
| DHCP option number | not applicable |
| ISC dhcpd syntax | not applicable |
set screenshot:base64 ${vram}
#!ipxe
params
chain -a http://server/memtest.0 onepass onefail ||
param screenshot ${vram}
chain -a http://server/screenshot.php##params
Represents the raw contents of video RAM.
param command
This setting is available only when the build option VRAM_SETTINGS is enabled.
The video RAM contents can be used to capture a screenshot. This is particularly useful for recording failures in automated environments. For example, the output from a failed memory test using memtest.0 can be captured and sent via an HTTP POST request to a remote server for later diagnosis:
#!ipxe
chain -a http://boot.ipxe.org/memtest.0 onepass onefail && goto ok || goto bad
:bad
params
param screenshot ${vram}
chain -a http://my.server.address/memtest_fail.php##params
:ok