On Tue, 5 Mar 2019 at 12:54, Felix Jacobi <felix.jac...@iserv.eu> wrote: > > 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? > > --
First check config, it has as system (smbios) subsection with some information, some of what you want is there. but these names are just alias for the actual table. So after that continue with reading http://forum.ipxe.org/showthread.php?tid=7749 _______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel