跳转至

显存内容设置

名称

  vram

详细信息

类型 Base64 编码
DHCP 选项编号 不适用
ISC dhcpd 语法 不适用

示例

截取屏幕截图

  set screenshot:base64 ${vram}

发送内存测试的屏幕截图

  #!ipxe
  params
  chain -a http://server/memtest.0 onepass onefail ||
  param screenshot ${vram}
  chain -a http://server/screenshot.php##params

描述

表示显存的原始内容。

另请参阅

构建选项

此设置仅在启用构建选项 VRAM_SETTINGS 时可用。

备注

显存内容可用于截取屏幕截图。这对于在自动化环境中记录故障特别有用。例如,可以截取使用 memtest.0 进行内存测试失败时的输出,并通过 HTTP POST 请求发送到远程服务器,供以后诊断:

  #!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