Documentation ¶
Overview ¶
Reference: https://www.dmtf.org/standards/smbios
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Verbosity uint8
Functions ¶
func AltUUID ¶
AltUUID provides a reproducable system-UUID for systems (VMs) that do not have a value set.
Consisting of the following UTS bytes: Nodename - Usually only set once for a VM. Machine - Archtecture like x86_64 or arm64. (immutable) Sysname - VM's usually get a new deployment on reinstall. (Linux/FreeBSD/...)
These bytes get hashed by xxhash. The returned 16 bytes have special values of "e" at postions 6,8,10 to identify as pseudo system-uuid.
Example: ec9692b4-a3c5-eeb7-eeb1-eeca85334893
Permissions: AltUUID does not need root privileges.
Beware!!! Use this only if UUID() did not return something useful or you're certain about the effects.