Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-06 | replace usage of dmidecode with kenv on FreeBSD (#621) | Mina Galić | |
FreeBSD lets us read out kernel parameters with kenv(1), a user-space utility that's shipped in "base" We can use it in place of dmidecode(8), thus removing the dependency on sysutils/dmidecode, and the restrictions to i386 and x86_64 architectures that this utility imposes on FreeBSD. Co-authored-by: Scott Moser <smoser@brickies.net> | |||
2020-11-02 | cloudinit: move dmi functions out of util (#622) | Scott Moser | |
This just separates the reading of dmi values into its own file. Some things of note: * left import of util in dmi.py only for 'is_container' It'd be good if is_container was not in util. * just the use of 'util.is_x86' to dmi.py * open() is used directly rather than load_file. |