[ipxe-devel] Accessing information from dmitable

Felix Jacobi felix.jacobi at iserv.eu
Tue Mar 5 11:54:19 UTC 2019

Hi there,

I am currently trying to access some information in the system's dmitable.

In the past I used the following Lua code in SYLINUX for that case:

local dmi = require "dmi"

  dmitable = dmi.gettable()
  if (dmitable["system"]) then
    sm = dmitable["system"]["manufacturer"]
    sv = dmitable["system"]["version"]
    sp = dmitable["system"]["product_name"]
  if (dmitable["base_board"]) then
    bm = dmitable["base_board"]["manufacturer"]
    bp = dmitable["base_board"]["product_name"]

I already figured out that the value of
dmitable["system"]["manufacturer"] can be obtained in iPXE using "show
manufacturer". Same for dmitable["system"]["product_name"] using "show

I am currently searching for ways to access the "version" value from
"system" and the "base_board" values using iPXE. Is there any way to do

Mit freundlichen Grüßen,

Felix Jacobi

IServ GmbH
Bültenweg 73
38106 Braunschweig

Telefon:			0531-2243666-0
Fax:				0531-2243666-9
Mobil:				01515-2525304
E-Mail:				felix.jacobi at iserv.eu
Internet:			www.iserv.eu
USt.-IdNr.:			DE265149425
Geschäftsführer:		Benjamin Heindl, Martin Hüppe, Jörg Ludwig

Verify my identity: https://github.com/FelixJacobi/gpg-keys

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20190305/436008fb/attachment.sig>

More information about the ipxe-devel mailing list