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"

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

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
product".

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
that?

-- 
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.jac...@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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to